/* ===== 로그인 페이지 모바일 (768px 미만, PC CSS 미로드) ===== */
@media (max-width: 767px) {
    .login-content {
        min-height: 100vh;
        padding: 24px 16px 48px;
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
        box-sizing: border-box;
    }

    .login-box {
        border: 1px solid #e0e0e0;
        border-radius: 16px;
        padding: 28px 20px 28px;
        background-color: #fff;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    }

    .login-logo {
        margin-bottom: 16px;
    }

    .login-logo-img {
        display: block;
        margin: 0 auto;
        width: 150px;
        height: 150px;
        object-fit: contain;
    }

    .login-title {
        font-size: 24px;
        margin: 0 0 24px;
        font-weight: 700;
        color: #1a1a1a;
    }

    .login-section {
        margin-bottom: 20px;
    }

    .login-section-kakao {
        margin-bottom: 0;
    }

    .btn-kakao-login {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding: 18px 24px;
        background-color: #fee500;
        color: #191919;
        border: none;
        border-radius: 12px;
        font-size: 17px;
        font-weight: 700;
        cursor: pointer;
        box-sizing: border-box;
        box-shadow: 0 2px 8px rgba(254, 229, 0, 0.4);
    }

    .btn-kakao-login:active {
        background-color: #fada0a;
        box-shadow: 0 4px 12px rgba(254, 229, 0, 0.5);
    }

    .btn-kakao-login i {
        font-size: 24px;
    }

    .login-divider {
        display: flex;
        align-items: center;
        margin: 24px 0;
        color: #adb5bd;
        font-size: 13px;
        font-weight: 500;
    }

    .login-divider::before,
    .login-divider::after {
        content: "";
        flex: 1;
        height: 1px;
        background-color: #e9ecef;
    }

    .login-divider span {
        padding: 0 12px;
    }

    .login-section-general {
        padding: 0;
        background-color: transparent;
        border-radius: 0;
        text-align: left;
    }

    .login-error {
        color: #fa5252;
        font-size: 14px;
        margin-bottom: 16px;
        text-align: center;
        font-weight: 500;
    }

    .login-form .form-group {
        margin-bottom: 16px;
    }

    .login-form .form-group input {
        width: 100%;
        padding: 16px;
        border: 1px solid #e2e5e9;
        border-radius: 12px;
        font-size: 16px;
        background-color: #f8f9fa;
        box-sizing: border-box;
        transition: all 0.2s ease;
    }

    .login-form .form-group input:focus {
        background-color: #fff;
        border-color: #4dabf7;
        outline: none;
        box-shadow: 0 0 0 3px rgba(77, 171, 247, 0.1);
    }

    .login-form .form-group input::placeholder {
        color: #adb5bd;
    }

    .btn-login-submit {
        width: 100%;
        margin-top: 8px;
        padding: 16px;
        background-color: #212529;
        color: #fff;
        border: none;
        border-radius: 12px;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
        box-sizing: border-box;
        transition: background-color 0.2s;
    }

    .btn-login-submit:active {
        background-color: #000;
    }

    .login-links {
        margin-top: 20px;
        text-align: center;
        font-size: 14px;
        color: #666;
    }

    .login-link {
        color: #495057;
        text-decoration: none;
    }

    .login-link:active {
        text-decoration: underline;
    }

    .login-sep {
        margin: 0 8px;
        color: #adb5bd;
    }

    .login-footer {
        margin-top: 28px;
        font-size: 14px;
        color: #666;
    }

    .login-footer a {
        color: #007bff;
        text-decoration: none;
        font-weight: 500;
    }

    .login-footer a:active {
        text-decoration: underline;
    }
}
