/* Signup Page Styles */

/* Navigation active state */
nav ul li a.active {
    color: var(--primary-color);
    font-weight: 600;
}

nav ul li a.active::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--primary-gradient);
    bottom: -5px;
    left: 0;
    border-radius: 1px;
}

/* Signup Hero Section */
.signup-hero {
    min-height: calc(100vh - 140px);
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
}

.signup-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.signup-left h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
    line-height: 1.1;
}

.signup-left .subheadline {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Features List */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.feature-text h3 {
    margin: 0 0 8px 0;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.feature-text p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Signup Card */
.signup-right {
    display: flex;
    justify-content: center;
}

.signup-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
    max-width: 400px;
    width: 100%;
}

.signup-card h2 {
    margin: 0 0 8px 0;
    color: var(--text-color);
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
}

.signup-subtitle {
    margin: 0 0 30px 0;
    color: var(--text-light);
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.5;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.google-signin-btn,
.email-signin-btn {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: white;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.2s ease;
}

.google-signin-btn:hover {
    border-color: #4285f4;
    background: rgba(66, 133, 244, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.15);
}

.email-signin-btn:hover {
    border-color: var(--primary-color);
    background: rgba(51, 102, 255, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(51, 102, 255, 0.15);
}

.google-signin-btn svg {
    flex-shrink: 0;
}

.email-signin-btn svg {
    flex-shrink: 0;
    color: var(--primary-color);
}

/* Divider */
.divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.divider span {
    background: white;
    padding: 0 16px;
    color: var(--text-light);
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}

/* Signup Footer */
.signup-footer {
    text-align: center;
}

.signup-footer p {
    margin: 0 0 12px 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.signup-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.signup-footer a:hover {
    text-decoration: underline;
}

.signup-footer .terms {
    font-size: 0.8rem;
    line-height: 1.5;
}

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

.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .signup-content {
        gap: 60px;
    }

    .signup-left h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .signup-hero {
        padding: 60px 0;
    }

    .signup-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .signup-left h1 {
        font-size: 2.5rem;
    }

    .signup-left .subheadline {
        font-size: 1.1rem;
    }

    .features-list {
        max-width: 500px;
        margin: 0 auto;
    }

    .feature-item {
        text-align: left;
    }

    .signup-card {
        padding: 30px;
        margin: 0 20px;
    }
}

@media (max-width: 480px) {
    .signup-left h1 {
        font-size: 2rem;
    }

    .signup-card {
        padding: 25px;
        margin: 0 15px;
    }

    .feature-item {
        gap: 12px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}
