/* Register Section */
.register-section {
    background: #FFFFFF;
    padding: 2rem 1rem;
    padding-top: 6rem;
    padding-bottom: 3rem;
}

.register-container {
    max-width: 1000px;
    margin: 0 auto;
}

.register-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #F9FAFB;
    border-radius: 0.75rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: fadeIn 0.6s ease-in;
}

.register-form-container {
    background: #FFFFFF;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: pulseIn 0.5s ease-out;
}

.register-form-container h1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1F2937;
    margin-bottom: 1rem;
    text-align: center;
}

.register-form {
    max-width: 250px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: #1F2937;
    margin-bottom: 0.25rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #D1D5DB;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    color: #1F2937;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #00AEEF;
    box-shadow: 0 0 5px rgba(0, 174, 239, 0.3);
    outline: none;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    color: #1F2937;
    gap: 1rem;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 0.5rem;
    cursor: pointer;
}

.checkbox-group a {
    color: #00AEEF;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.g-recaptcha {
    margin: 0.75rem 0;
    text-align: center;
    transform: scale(0.85);
}

.google-button {
    background: #4285F4;
    margin: 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    color: #FFFFFF;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
}

.google-button:hover {
    background: #357ae8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.google-icon {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
}

.register-benefits {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: fadeIn 0.6s ease-in;
}

.register-benefits h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #1F2937;
    margin-bottom: 1rem;
    text-align: center;
}

.register-benefits p {
    font-size: 1.2rem;
    color: #6B7280;
    margin-bottom: 1.5rem;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 0 auto;
}

.benefit-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 0.5rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 1.5rem;
    color: #00D4B4;
}

.benefit-card p {
    font-size: 0.9rem;
    color: #1F2937;
    margin: 0;
    text-align: left;
}

.message {
    max-width: 250px;
    margin: 0.75rem auto;
    padding: 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: cardAppear 0.3s ease;
}

.message.success {
    background: #D1FAE5;
    color: #047857;
}

.message.error {
    background: #FEE2E2;
    color: #EF4444;
}

/* Ensure navigation links don't wrap */
.nav-item {
    white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .register-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    .register-form-container {
        grid-row: 1 / 2;
        padding: 1rem;
    }

    .register-benefits {
        grid-row: 2 / 3;
        padding: 1rem;
    }

    .register-form {
        max-width: 250px;
    }

    .register-form-container h1,
    .register-benefits h2 {
        font-size: 1.5rem;
    }

    .register-benefits p {
        font-size: 1rem;
    }

    .form-group label,
    .benefit-card p {
        font-size: 0.8rem;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="password"],
    .form-group select {
        padding: 0.4rem;
        font-size: 0.7rem;
    }

    .google-button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .google-icon {
        width: 16px;
        height: 16px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .register-section {
        padding: 1.5rem 0.5rem;
    }

    .register-container {
        padding: 0 0.5rem;
    }

    .register-form-container,
    .register-benefits {
        padding: 0.75rem;
    }

    .register-form-container h1,
    .register-benefits h2 {
        font-size: 1.25rem;
    }

    .register-benefits p {
        font-size: 0.9rem;
    }

    .message {
        font-size: 0.65rem;
        padding: 0.4rem;
    }

    .g-recaptcha {
        transform: scale(0.75);
    }

    .benefit-icon {
        font-size: 1.2rem;
    }

    .google-icon {
        width: 14px;
        height: 14px;
    }

    .google-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes cardAppear {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes pulseIn {
    0% { opacity: 0; transform: scale(0.95); }
    50% { transform: scale(1.02); }
    100% { opacity: 1; transform: scale(1); }
}