/* 인증 페이지 스타일 */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, #0a0e1c 0%, #1a1f3a 100%);
}

.auth-box {
    width: 100%;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo img {
    height: 50px;
    width: auto;
}

.auth-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.auth-subtitle {
    text-align: center;
    color: var(--muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(79, 141, 240, 0.1);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

select.form-input option {
    color: #0f172a;
    background: #ffffff;
}

select.form-input option:disabled {
    color: rgba(15, 23, 42, 0.45);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(120deg, #4674ff 0%, #05c3ff 100%);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(70, 116, 255, 0.4);
}

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

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2rem 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.divider span {
    padding: 0 1rem;
}

.btn-google {
    width: 100%;
    padding: 1rem;
    background: #fff;
    color: #333;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-google:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
}

.btn-google img {
    width: 20px;
    height: 20px;
}

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.auth-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-links a:hover {
    color: var(--accent);
}

.alert {
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.alert::before {
    content: '';
    font-size: 1.5rem;
    flex-shrink: 0;
}

.alert-success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(16, 185, 129, 0.15));
    border: 2px solid rgba(34, 197, 94, 0.4);
    color: #4ade80;
    animation: slideInDown 0.5s ease-out;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.2);
}

.alert-success::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(34, 197, 94, 0.25);
    border-radius: 50%;
    color: #4ade80;
    font-weight: 700;
}

.alert-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.15));
    border: 2px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
    animation: slideInDown 0.5s ease-out;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.2);
}

.alert-error::before {
    content: '✕';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(239, 68, 68, 0.25);
    border-radius: 50%;
    color: #f87171;
    font-weight: 700;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success Modal Styles */
.success-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
    padding: 1rem;
}

.success-modal {
    background: linear-gradient(135deg, rgba(30, 30, 50, 0.95), rgba(20, 20, 35, 0.95));
    border: 2px solid rgba(107, 226, 255, 0.3);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    max-width: 500px;
    width: 100%;
    text-align: center;
    animation: scaleIn 0.3s ease-out;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.success-modal-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: bounce 0.6s ease-out;
}

.success-modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.success-modal-message {
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.success-modal-order-id {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(107, 226, 255, 0.15);
    border: 1px solid rgba(107, 226, 255, 0.3);
    border-radius: 12px;
    color: var(--accent);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.success-modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.success-modal-btn {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.success-modal-btn-primary {
    background: linear-gradient(120deg, #4674ff 0%, #05c3ff 100%);
    color: #fff;
}

.success-modal-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(70, 116, 255, 0.4);
}

.success-modal-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.success-modal-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 600px) {
    .success-modal {
        padding: 2rem 1.5rem;
    }

    .success-modal-icon {
        font-size: 4rem;
    }

    .success-modal-title {
        font-size: 1.5rem;
    }

    .success-modal-message {
        font-size: 1rem;
    }

    .success-modal-actions {
        flex-direction: column;
    }
}

.form-error {
    color: #f87171;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* 신규 가입 이벤트 배너 */
.signup-event-notice {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(79, 141, 240, 0.15));
    border: 2px solid rgba(139, 92, 246, 0.4);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    animation: pulse-glow 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.signup-event-notice::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.event-icon {
    font-size: 2rem;
    animation: bounce-icon 1s ease-in-out infinite;
    flex-shrink: 0;
    z-index: 1;
}

@keyframes bounce-icon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.event-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 1;
}

.event-text strong {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

.event-text span {
    font-size: 0.9rem;
    color: var(--muted);
}

@media (max-width: 600px) {
    .auth-box {
        padding: 2rem 1.5rem;
    }

    .auth-title {
        font-size: 1.5rem;
    }

    .signup-event-notice {
        padding: 14px 18px;
        gap: 12px;
    }

    .event-icon {
        font-size: 1.5rem;
    }

    .event-text strong {
        font-size: 0.9rem;
    }

    .event-text span {
        font-size: 0.8rem;
    }
}
