* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
}

.loader { 
    border: 4px solid rgba(255, 255, 255, 0.3); 
    border-radius: 50%; 
    border-top: 4px solid #fff; 
    width: 24px; 
    height: 24px; 
    animation: spin 1s linear infinite; 
    display: inline-block; 
}

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

/* Language Toggle Styles */
.toggle-label { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    cursor: pointer; 
}

.toggle-input { 
    display: none; 
}

.toggle-switch { 
    position: relative; 
    display: inline-block; 
    width: 120px; 
    height: 34px; 
    background-color: #e5e7eb; 
    border-radius: 9999px; 
    transition: background-color 0.2s; 
}

.toggle-switch:before { 
    content: ""; 
    position: absolute; 
    left: 4px; 
    top: 4px; 
    width: 26px; 
    height: 26px; 
    background-color: white; 
    border-radius: 50%; 
    transition: transform 0.2s; 
    box-shadow: 0 1px 3px rgba(0,0,0,0.1); 
}

.toggle-input:checked + .toggle-switch { 
    background-color: #1e40af; /* Darker blue */
}

.toggle-input:checked + .toggle-switch:before { 
    transform: translateX(86px); 
}

.toggle-text { 
    margin: 0 12px; 
    font-weight: 500; 
    transition: color 0.2s; 
}

/* Blue loader for scheme search */
.loader-blue {
    border: 4px solid #e5e7eb;
    border-radius: 50%;
    border-top: 4px solid #1e40af;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    display: inline-block;
}

/* Styling for Scheme Cards */
.scheme-card {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}
.scheme-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
}
