
:root {
            --primary-color: #0e2133;
            --dark-color: #0e2133;
            --secondary-color: #dba227;
            --light-color: #f6f6f6;
            --white-color: #ffffff;
			      --success-color: #28a745;
            --warning-color: #ffc107;
            --danger-color: #d92c2c;
            --red-color: #d92c2c;
        }
        
		body {
				font-family: 'Almarai', Arial, sans-serif;
				background-color: var(--light-color);
				color: var(--dark-color);
				direction: rtl;
				overflow-x: hidden;
				width: 100%;
				position: relative;
				font-size: 1.25rem;
		}

		html, body {
				width: 100%;
				overflow-x: hidden;
				margin: 0;
				padding: 0;
		}        

        .container, .container-fluid {
            max-width: 100%;
						width: 90%;
						margin: 0 auto;
}

/* Embassy Info Bar */
        .embassy-info-bar {
            background-color: var(--primary-color);
            color: var(--secondary-color);
            padding: 10px 0;
            font-weight: 600;
            font-size: 0.95rem;
            border-bottom: 2px solid var(--secondary-color);
            position: relative;
            z-index: 1000;
        }

        .embassy-info-bar p {
            margin: 0;
            color: var(--secondary-color);
            font-weight: 600;
        }

/* Registration Form Styles */
        .registration-hero {
            background-color: var(--primary-color);
            color: white;
            padding: 40px 0;
            text-align: center;
            position: relative;
        }
        
        .hero-content-wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 25px;
        }
        
        .hero-logo-wrapper {
            text-align: center;
        }
        
        .embassy-logo {
            max-width: 120px;
            width: 100%;
            height: auto;
            object-fit: contain;
        }
        
        .hero-text-wrapper {
            text-align: center;
            width: 100%;
        }
        
        .registration-hero h1 {
            font-weight: 700;
            margin: 0;
            font-size: 2rem;
            color: var(--secondary-color);
            line-height: 1.4;
        }
        
        .registration-hero h2 {
            color: var(--secondary-color);
            font-weight: 600;
            font-size: 1.6rem;
            margin: 10px 0 0 0;
            line-height: 1.4;
        }
        
        .registration-hero h3 {
            color: var(--secondary-color);
            font-weight: 600;
            font-size: 1.3rem;
            margin: 10px 0 0 0;
            line-height: 1.4;
        }
        
        .registration-hero .lead {
            color: var(--secondary-color);
            font-size: 1.1rem;
            margin: 25px 0 0 0;
            font-weight: 500;
        }
        
        .registration-container {
            background-color: white;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            padding: 30px;
            margin: -20px auto 30px;
            position: relative;
            z-index: 1;
            max-width: 1000px;
        }
      
/* Hide calendar icon in Chrome/Edge */
input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
    opacity: 0;
}

        .form-step {
            display: none;
        }
        
        .form-step.active {
            display: block;
            animation: fadeIn 0.5s ease;
        }
        
        .form-header {
            text-align: center;
            margin-bottom: 25px;
        }
        
        .form-header h2 {
            color: var(--secondary-color);
            font-weight: 700;
            margin-bottom: 10px;
            font-size: 2.2rem;
        }
        
        .form-header p {
            color: var(--dark-color);
            font-size: 1.25rem;
        }
        
        /* Form section headings */
        h5.text-primary {
            font-size: 1.6rem;
        }
        
        .form-label {
            font-weight: 500;
            margin-bottom: 8px;
            color: var(--dark-color);
            display: block;
            font-size: 1.3rem;
        }

.form-label i {
    color: var(--secondary-color);
}
        
        .form-control, .form-select, textarea.form-control {
            padding: 12px 15px;
            border-radius: 8px;
            border: 1px solid #ddd;
            margin-bottom: 15px;
            width: 100%;
            font-family: 'Almarai', Arial, sans-serif;
            font-size: 1.2rem;
        }
        
        textarea.form-control {
            font-size: 1.2rem;
            line-height: 1.6;
        }
        
        .form-control:focus, .form-select:focus {
            box-shadow: 0 0 0 0.25rem rgba(14, 33, 51, 0.25);
            border-color: var(--primary-color);
            outline: none;
        }
        
        .form-control, .form-select {
            background-color: var(--white-color);
        }
        
        .form-check-input:checked {
            background-color: var(--secondary-color);
            border-color: var(--secondary-color);
        }
        
        .form-check-label {
            margin-right: 5px;
            cursor: pointer;
            font-size: 1.2rem;
        }

.form-text {
    font-size: 1.05rem;
    margin-top: 0.25rem;
    display: block;
}
        
        /* Buttons */
        .btn-custom {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 12px 30px;
            font-weight: 500;
            border-radius: 50px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(14, 33, 51, 0.3);
            font-family: 'Almarai', Arial, sans-serif;
            cursor: pointer;
            font-size: 1.15rem;
        }
        
        .btn-custom:hover {
            background-color: var(--dark-color);
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(14, 33, 51, 0.4);
        }
        
        .btn-outline-custom {
            border: 2px solid var(--primary-color);
            color: var(--primary-color);
            background: transparent;
            padding: 10px 25px;
            font-weight: 500;
            border-radius: 50px;
            transition: all 0.3s ease;
            font-family: 'Almarai', Arial, sans-serif;
            cursor: pointer;
            font-size: 1.15rem;
        }
        
        .btn-outline-custom:hover {
            background-color: var(--primary-color);
            color: white;
        }
        
        /* Button variants matching reference */
        .btn-red {
            background-color: var(--red-color);
            color: white;
            border: none;
            padding: 12px 30px;
            font-weight: 500;
            border-radius: 50px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(217, 44, 44, 0.3);
            font-family: 'Almarai', Arial, sans-serif;
            cursor: pointer;
        }
        
        .btn-red:hover {
            background-color: #b82424;
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(217, 44, 44, 0.4);
        }
        
        /* Progress Bar */
        .progress-container {
            margin-bottom: 30px;
        }
        
        .progress {
            height: 8px;
            border-radius: 5px;
            background-color: var(--light-color);
        }
        
        .progress-bar {
            background-color: var(--secondary-color);
            transition: width 0.6s ease;
        }
        
        .step-indicator {
            display: flex;
            justify-content: space-between;
            margin-top: 15px;
        }
        
        .step {
            text-align: center;
            position: relative;
            flex: 1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.step:hover .step-number {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
        }
        
        .step-number {
            width: 35px;
            height: 35px;
            background-color: var(--light-color);
            color: var(--dark-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 8px;
            font-weight: 700;
            border: 3px solid var(--light-color);
            font-size: 0.9rem;
        }
        
        .step.active .step-number {
            background-color: var(--secondary-color);
            color: white;
            border-color: var(--secondary-color);
        }
        
        .step.completed .step-number {
            background-color: var(--secondary-color);
            color: white;
            border-color: var(--secondary-color);
        }
        
        .step-title {
            font-size: 0.85rem;
            color: var(--dark-color);
            font-weight: 500;
        }
        
        .step.active .step-title {
            color: var(--secondary-color);
            font-weight: 600;
        }
        
        .step.completed .step-title {
            color: var(--dark-color);
        }
        
/* Support Checkboxes */
        .diseases-checkboxes {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 10px;
            margin-top: 15px;
        }
        
        .disease-checkbox {
            background-color: var(--light-color);
            padding: 10px;
            border-radius: 5px;
            display: flex;
            align-items: center;
        }
        
        .disease-checkbox .form-check-input {
            margin-left: 8px;
        }
        
/* Validation Styles */
        .is-invalid {
            border-color: var(--red-color) !important;
        }
        
        .is-invalid:focus {
            box-shadow: 0 0 0 0.25rem rgba(217, 44, 44, 0.25);
        }
        
.is-valid {
    border-color: #28a745 !important;
}

.is-valid:focus {
    box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25);
}

.invalid-feedback, .valid-feedback {
    font-size: 1.1rem;
}

/* SweetAlert RTL Fix */
.swal2-popup {
    direction: rtl;
            text-align: right;
}

/* Animations */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .registration-container {
                padding: 20px;
                margin-top: -15px;
            }
            
            .logo-img {
                height: 80px;
            }
            
            .step-title {
                font-size: 0.75rem;
            }
            
            .diseases-checkboxes {
                grid-template-columns: 1fr;
            }
            
            .registration-hero h1 {
                font-size: 1.5rem;
            }
}

/* Introduction Section Styles */
.icon-circle {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.bg-primary-light {
    background-color: var(--light-color) !important;
}

.bg-danger-light {
    background-color: #f8d7da !important;
}

.bg-info-light {
    background-color: #d1ecf1 !important;
}

.bg-success-light {
    background-color: #d4edda !important;
}

.goal-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.goal-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

.task-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.task-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

.task-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .icon-circle {
        width: 40px;
        height: 40px;
    }
    
    .task-icon {
        width: 50px;
        height: 50px;
    }
    
    .task-icon i {
        font-size: 1.2rem !important;
    }
}

/* Section Divider */
.section-divider {
    margin: 40px 0;
    border-top: 2px solid var(--light-color);
}

.section-title {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-color);
}

/* Declaration Checkbox Styles */
.declaration-checkbox-container {
    margin: 30px 0;
}

.declaration-box {
    background: #ffffff;
    border-color: #dee2e6 !important;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.declaration-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(219, 162, 39, 0.15) !important;
    border-color: var(--secondary-color) !important;
    background-color: #f8f9fa;
}

.declaration-checkbox-wrapper {
    flex-shrink: 0;
    margin-top: 3px;
}

.declaration-checkbox {
    width: 32px !important;
    height: 32px !important;
    cursor: pointer;
    border: 3px solid var(--secondary-color) !important;
    border-radius: 8px !important;
    position: relative;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #ffffff;
    margin: 0;
}

.declaration-checkbox:checked {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3.5' d='M6 10l3 3l6-6'/%3e%3c/svg%3e") !important;
    background-size: 20px 20px;
    background-position: center;
    background-repeat: no-repeat;
    animation: checkBounce 0.4s ease;
}

.declaration-checkbox:focus {
    box-shadow: 0 0 0 0.25rem rgba(219, 162, 39, 0.4) !important;
    outline: none;
}

.declaration-label {
    cursor: pointer;
    user-select: none;
}

.declaration-text strong {
    color: var(--dark-color);
    transition: color 0.3s ease;
    display: block;
    font-size: 1.3rem;
}

.declaration-text {
    font-size: 1.15rem;
}

.declaration-checkbox:checked ~ .declaration-label .declaration-text strong {
    color: var(--secondary-color);
}

.declaration-box.is-checked {
    background-color: #e8f4f8;
    border-color: var(--success-color) !important;
}

.declaration-box.is-invalid {
    border-color: var(--danger-color) !important;
    background-color: #fff5f5;
}

.declaration-box.is-invalid .declaration-checkbox {
    border-color: var(--danger-color) !important;
}

.declaration-box.is-invalid #declarationError {
    display: block !important;
    color: var(--danger-color);
    font-weight: 500;
}

@keyframes checkBounce {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive for declaration */
@media (max-width: 768px) {
    .declaration-box {
        padding: 20px !important;
    }
    
    .declaration-checkbox {
        width: 28px !important;
        height: 28px !important;
    }
    
    .declaration-text strong {
        font-size: 1.1rem !important;
    }
}