/* CSS Reset for Mobile Web */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

input, button, textarea, select {
    font: inherit;
    -webkit-appearance: none;
    border-radius: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

ul, ol {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

button {
    background: none;
    border: 0;
    cursor: pointer;
}

/* Prevent zoom on iOS when focusing inputs */
input[type="text"],
input[type="email"],
input[type="search"],
input[type="password"] {
    font-size: 16px;
}

/* PC: 모바일 레이아웃 유지 (최대 600px) */
@media (min-width: 601px) {
    html {
        background-color: #e0e0e0;
    }

    body {
        width: 100%;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        min-height: 100vh;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        overflow-x: hidden;
    }
}
