/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
    min-height: 100vh;
} */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    overflow-x: hidden;
	
}
/* Header Styles */
header {
    text-align: center;
     background: linear-gradient(135deg, #9CA1E2 0%, #4b85e6 50%, #9CA1E2 100%);
    color: white !important;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 10px;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.2);
}




header h1 {
    font-size: 45px !important;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.2rem;
    color: White;
    font-weight: 400;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.generator-card {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 40px !important;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.1);
    border: 1px solid rgba(30, 64, 175, 0.1);
    width: 100%;
    max-width: 600px;
    transition: all 0.3s ease;
}

.generator-card:hover {
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.15);
}

/* Input Section */
.input-section {
    margin-bottom: 30px;
}

.year-range {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-weight: 600;
    color: #1e40af !important;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.input-group input[type="number"] {
    padding: 12px 16px !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 8px !important;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #ffffff !important;
}

.input-group input[type="number"]:focus {
    outline: none !important;
    border-color: #1e40af !important;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* Options Section */
.options-section {
    margin-bottom: 30px;
}

.options-section h3 {
    color: #1e40af;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.option-item {
    display: flex;
    align-items: center;
    padding: 15px !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 8px !important;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #ffffff;
    position: relative;
}

.option-item:hover {
    border-color: #f59e0b !important;
    background-color: #fffbeb !important;
}

.option-item:has(input[type="radio"]:checked) {
    border-color: #1e40af !important;
    background-color: #eff6ff !important;
    box-shadow: 0 0 0 1px rgba(30, 64, 175, 0.1);
}

.option-item input[type="radio"] {
    margin-right: 10px;
    cursor: pointer;
    transform: scale(1.2);
}

.option-item label {
    cursor: pointer;
    font-weight: 500;
    color: #374151;
    flex: 1;
    user-select: none;
}

.custom-option {
    grid-column: 1 / -1;
    justify-content: space-between;
}

.custom-option input[type="number"] {
    width: 80px;
    padding: 8px 12px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    margin-left: 10px;
    font-size: 0.9rem;
}

.custom-option input[type="number"]:enabled {
    border-color: #1e40af;
}

/* Generate Button */
.generate-btn {
    width: 100%;
    padding: 16px 24px !important;
    background: linear-gradient(135deg, #9CA1E2 0%, #4b85e6 50%, #9CA1E2 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.generate-btn:hover {
    background: linear-gradient(135deg, #1e3a8a, #2563eb) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
}

.generate-btn:active {
    transform: translateY(0);
}

/* Results Section */
.results-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e5e7eb;
}

.results-section h3 {
    color: #1e40af;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.results-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.year-item {
    padding: 12px 16px !important;
    background: linear-gradient(135deg, #f59e0b, #f97316) !important;
    color: white;
    border-radius: 8px !important;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.year-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

/* Copy Button */
.copy-btn {
    background: linear-gradient(135deg, #9CA1E2 0%, #4b85e6 50%, #9CA1E2 100%);
    color: white !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

/* Footer */
.footer {
    margin-top: 40px;
    text-align: center;
    padding: 20px 0;
    color: #6b7280;
    font-size: 0.9rem;
}

/* Radio button checked state */
input[type="radio"]:checked + label {
    color: #1e40af;
    font-weight: 600;
}

input[type="radio"]:checked {
    accent-color: #1e40af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0px !important;
    }
    
    .title {
        font-size: 35px !important;
    }
    
    .generator-card {
        padding: 25px;
    }
    
    .year-range {
        grid-template-columns: 1fr;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .custom-option {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .results-container {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .generator-card {
        padding: 20px;
    }
    
    .results-container {
        grid-template-columns: repeat(3, 1fr);
    }
}