body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* NAVBAR */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.navbar-brand img {
    height: 1.25em;
    width: auto;
    margin-right: 0.4em;
    vertical-align: -0.1em;
}
.navbar img {
    height: 30px;
    margin-right: 10px;
}

/* HERO */
.hero-section {
    background: linear-gradient(rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9)),
                url('https://images.unsplash.com/photo-1516549655669-df6654e435de?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    margin-bottom: 40px;
}

/* SEARCH */
.search-box {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

#search-suggestions {
    position: absolute;
    top: calc(40% - 5px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    margin-top: -1px;
}

.suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
    color: 	#2F4F4F;  /* Yellow non-matched text */
}

.suggestion-item:hover {
    background-color: #f8f9fa;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item .badge {
    font-size: 0.7rem;
}

.search-suggestion-header {
    font-size: 0.9rem;
    color: #6c757d;
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0;
    background-color: #f8f9fa;
}

/* MAP */
#map {
    height: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

/* HOSPITAL LIST */
.hospital-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 40px;
    border-radius: 10px;
}

.hospital-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.hospital-type-badge {
    position: absolute;
    top: 15px;
    right: 15px;
}

.rating-badge {
    background-color: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.price-tag {
    font-size: 1.2rem;
    font-weight: bold;
    color: #28a745;
}

/* SURGERY INFO + SUGGESTIONS */
.surgery-info,
.suggestions-box {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

/* AVAILABILITY */
.availability-badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.available {
    background-color: #d4edda;
    color: #155724;
}

.limited {
    background-color: #fff3cd;
    color: #856404;
}

.not-available {
    background-color: #f8d7da;
    color: #721c24;
}

.info-icon {
    color: #6c757d;
    margin-right: 5px;
}

/* DID YOU MEAN */
.did-you-mean {
    background-color: #e7f3ff;
    border-left: 4px solid #007bff;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

/* DETAILS */
.hospital-detail-item {
    padding: 4px 0;
    border-bottom: 1px dashed #f0f0f0;
}

.hospital-detail-item:last-child {
    border-bottom: none;
}

/* GRID FIX */
.row > div[class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}


/* Form styling */
.form-label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
}

.form-control {
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 500;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-1px);
}

/* Required field asterisk */
.text-danger {
    color: #dc3545;
}
