/* Authentication Pages Styles */

/* Navigation Logo */
.nav-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Navigation Social Icons */
.nav-social {
    display: flex;
    gap: 15px;
}

.nav-social a {
    color: var(--text-dark);
    font-size: 1.2rem;
    /* transition: color 0.3s; (애니몀8이션 제거됨) */
}

.nav-social a:hover {
    color: var(--primary-color);
}

/* Auth Section */
.auth-section {
    padding: 120px 0 100px;
    background: var(--white);
    min-height: calc(100vh - 200px);
}

.auth-wrapper {
    max-width: 500px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* Auth Header */
.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-header h1 {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.auth-header p {
    font-size: 1rem;
    color: var(--text-light);
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 0.95rem;
    display: none;
}

.alert-error {
    background: #ffe6e6;
    color: #c62828;
    border: 1px solid #ffcccc;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.alert i {
    margin-right: 8px;
}

/* Auth Form */
.auth-form {
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.required {
    color: #e74c3c;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Noto Sans KR', sans-serif;
    /* transition: all 0.3s; (애니몀8이션 제거됨) */
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(92, 143, 220, 0.1);
}

.form-group small {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Buttons */
.btn-primary {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 400;
    cursor: pointer;
    /* transition: all 0.3s; (애니몀8이션 제거됨) */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary:hover {
    background: #4a7ac4;
    /* transform: translateY(-2px); (애니몀8이션 제거됨) */
    box-shadow: 0 4px 12px rgba(92, 143, 220, 0.3);
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    /* transform: none; (애니몀8이션 제거됨) */
}

.btn-google {
    width: 100%;
    padding: 14px;
    background: var(--white);
    color: var(--text-dark);
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 400;
    cursor: pointer;
    /* transition: all 0.3s; (애니몀8이션 제거됨) */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-google:hover {
    background: #f8f9fa;
    border-color: var(--primary-color);
}

.btn-google i {
    color: #ea4335;
    font-size: 1.2rem;
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
}

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

.auth-divider span {
    padding: 0 15px;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Auth Links */
.auth-links {
    text-align: center;
    margin-top: 30px;
}

.auth-links p {
    margin: 10px 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.auth-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 400;
    /* transition: color 0.3s; (애니몀8이션 제거됨) */
}

.auth-links a:hover {
    color: #4a7ac4;
    text-decoration: underline;
}

/* Loading State */
.btn-primary.loading,
.btn-google.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-primary.loading::after,
.btn-google.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    margin-left: 10px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    /* animation: spin 0.6s linear infinite; (애니몀8이션 제거됨) */
}

/* @keyframes spin (애니몀8이션 제거됨) */

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .nav-logo {
        height: 40px;
        margin-right: 10px;
    }
    
    .nav-menu {
        width: 100%;
        justify-content: center;
        gap: 15px;
        padding: 10px 0;
        order: 3;
        font-size: 0.9rem;
    }
    
    .nav-social {
        order: 2;
    }
    
    .auth-section {
        padding: 60px 0 80px;
    }
    
    .auth-wrapper {
        padding: 40px 25px;
        margin: 0 20px;
    }
    
    .auth-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .auth-section {
        padding: 40px 0 60px;
    }
    
    .auth-wrapper {
        padding: 30px 20px;
    }
    
    .auth-header h1 {
        font-size: 1.8rem;
    }
}

/* Footer Styles */
.footer-logo {
    margin-bottom: 10px;
}

.footer-logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}
