/* 로그인 페이지 스타일 */

/* Main Wrapper */
.login-wrapper {
    background: #faf8f8;
    min-height: 70vh;
    padding: 60px 0 100px;
}

.login-wrapper .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 0.6s ease-out;
}

.page-title {
    font-size: 38px;
    font-weight: 800;
    color: #333;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.page-subtitle {
    font-size: 16px;
    color: #666;
    font-weight: 400;
}

/* Login Form */
.login-form {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* Form Section */
.form-section {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.form-section:hover {
    border-color: #faf8f8;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Form Group */
.form-group {
    margin-bottom: 28px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

/* Input Wrapper */
.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
    z-index: 1;
}

.login-form .form-input {
    width: 100%;
    padding: 14px 50px 14px 48px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    font-size: 15px;
    color: #333;
    transition: all 0.3s ease;
    background: #fff;
}

.form-input:focus {
    outline: none;
    border-color: #bb877a;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-input::placeholder {
    color: #999;
}

.btn-toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    z-index: 1;
}

.btn-toggle-password:hover {
    color: #bb877a;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    margin-bottom: 32px;
}

.link-find,
.link-signup {
    font-size: 14px;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.link-find:hover,
.link-signup:hover {
    color: #bb877a;
}

/* Login Button */
.btn-login {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #bb877a 0%, #9f806f 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    
    position: relative;
    overflow: hidden;
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-login:hover::before {
    left: 100%;
}

.btn-login:hover {
    transform: translateY(-3px);

}

.btn-login:active {
    transform: translateY(-1px);
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 32px 0 24px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e5e5e5;
}

.divider span {
    padding: 0 20px;
    font-size: 13px;
    color: #999;
    font-weight: 500;
}

/* Kakao Button */
.btn-kakao {
    width: 100%;
    padding: 16px;
    background: #FEE500;
    color: #000;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-kakao:hover {
    background: #FDD835;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 229, 0, 0.3);
}

.btn-kakao:active {
    transform: translateY(0);
}

/* Guest Order Section */
.guest-order-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.btn-guest-order {
    width: 100%;
    padding: 14px;
    background: #fff;
    color: #666;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-guest-order:hover {
    border-color: #bb877a;
    color: #bb877a;
    background: #faf8f8;
}

.btn-guest-order:active {
    transform: translateY(0);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .login-wrapper {
        padding: 40px 0 60px;
    }

    .login-wrapper .container {
        padding: 0 20px;
    }

    .page-header {
        margin-bottom: 40px;
    }

    .page-title {
        font-size: 32px;
    }

    .page-subtitle {
        font-size: 15px;
    }

    .form-section {
        padding: 32px 24px;
    }

    .form-input {
        padding: 13px 44px 13px 44px;
        font-size: 14px;
    }

    .form-options {
        justify-content: flex-end;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 28px;
    }

    .page-subtitle {
        font-size: 14px;
    }

    .form-section {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-label {
        font-size: 14px;
    }

    .form-input {
        padding: 12px 40px 12px 40px;
        font-size: 14px;
    }

    .btn-login {
        padding: 16px;
        font-size: 15px;
    }

    .btn-kakao {
        padding: 14px;
        font-size: 14px;
    }

    .link-find,
    .link-signup {
        font-size: 13px;
    }

    .form-options {
        gap: 10px;
    }
}
