:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    margin-bottom: 40px;
}

.hero-section h1 {
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.search-form-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.95);
}

.search-form .form-control {
    border-radius: 10px 0 0 10px;
    border: 2px solid #e9ecef;
    border-right: none;
    padding: 15px 20px;
    font-size: 16px;
}

.search-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

.search-form .btn {
    border-radius: 0 10px 10px 0;
    padding: 15px 30px;
    font-weight: 600;
}

.results-section {
    padding: 40px 0;
}

.result-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.result-card .card-header {
    border-radius: 15px 15px 0 0 !important;
    font-weight: 600;
}

.section-title {
    color: var(--primary-color);
    font-weight: 600;
    border-bottom: 2px solid var(--light-bg);
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.info-item {
    background: var(--light-bg);
    padding: 12px 15px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.info-item strong {
    color: var(--dark-bg);
    display: block;
    font-size: 0.9em;
    margin-bottom: 2px;
}

.info-item span {
    color: #555;
    font-weight: 500;
}

.features-section {
    margin-top: 60px;
}

.feature-item {
    padding: 30px 20px;
}

.feature-item i {
    transition: transform 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.1);
}

.feature-item h4 {
    color: var(--dark-bg);
    margin: 15px 0 10px;
}

.feature-item p {
    color: var(--secondary-color);
    font-size: 0.95em;
}

.alert {
    border: none;
    border-radius: 10px;
    padding: 20px;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da, #f1aeb5);
    color: #721c24;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .search-form .input-group {
        flex-direction: column;
    }
    
    .search-form .form-control {
        border-radius: 10px;
        border-right: 2px solid #e9ecef;
        margin-bottom: 10px;
    }
    
    .search-form .btn {
        border-radius: 10px;
        width: 100%;
    }
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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