:root {
    --primary-color: #00796B;
    --secondary-color: #C17C74;
    --accent-color: #FFC107;
    --text-primary: #212121;
    --text-secondary: #616161;
    --background-primary: #FAFAFA;
    --background-secondary: #FFFFFF;
    --border-color: #EEEEEE;
}

body {
    font-family: "Nunito Sans", sans-serif;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 60%, #FFC107 100%);
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

.registration-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.registration-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 1000px;
    width: 100%;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #004d43 100%);
    color: white;
    padding: 60px 40px;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="50" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.logo {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 700;
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 12px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.5;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.benefits-list li::before {
    content: '✓';
    background: rgba(255, 255, 255, 0.2);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: bold;
    font-size: 14px;
}

/* Trust Badges */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.trust-badge i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.trust-badge span {
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    line-height: 1.2;
    opacity: 0.9;
}

.form-section {
    padding: 60px 40px;
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    text-align: center;
}

.form-subtitle {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

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

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 121, 107, 0.1);
    background: white;
}


.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color) 0%, #004d43 100%);
    border: none;
    border-radius: 12px;
    padding: 16px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    width: 100%;
    transition: all 0.3s ease;
    text-transform: none;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 121, 107, 0.3);
    background: linear-gradient(135deg, #009688 0%, #00695c 100%);
}

.divider {
    position: relative;
    text-align: center;
    margin: 30px 0;
    color: var(--text-secondary);
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e9ecef;
    z-index: 1;
}

.divider span {
    background: white;
    padding: 0 20px;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.google-btn {
    border: 2px solid #e9ecef !important;
    border-radius: 12px !important;
    padding: 15px 25px !important;
    width: 100%;
    background: white !important;
    color: var(--text-primary) !important;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.google-btn:hover {
    border-color: #ddd !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--text-primary) !important;
}

.legal-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 30px;
    line-height: 1.5;
}

.legal-text a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-text a:hover {
    text-decoration: underline;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 25px;
    opacity: 0.7;
}

.trust-indicator {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
}

.trust-indicator::before {
    content: '🔒';
    margin-right: 8px;
}

.back-link {
    position: absolute;
    top: 20px;
    left: 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: white;
}

/* Alert Styles */
.alert {
    border: none;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
    border-left: 4px solid #198754;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

.alert-info {
    background-color: #d1ecf1;
    color: #055160;
    border-left: 4px solid #0dcaf0;
}

.alert .btn-close {
    font-size: 0.8rem;
    opacity: 0.6;
}

.alert .btn-close:hover {
    opacity: 1;
}

/* Form validation error styles */
.form-control.is-invalid {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .registration-card {
        margin: 10px;
        border-radius: 15px;
        display: block !important;
    }
    
    .hero-section {
        display: none;
    }
    
    .form-section {
        padding: 40px 30px;
    }
    
    .form-title {
        font-size: 1.6rem;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
}

@media (min-width: 768px) {
    .registration-card {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .registration-container {
        padding: 10px;
    }
}
