/* Base Responsive Styles */
* {
    box-sizing: border-box;
}


.subtitle2 {
    /*font-size: 18px;*/
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.1;
    text-align: center;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 0 10px;
    position: relative;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Header & Banner Responsive */
.banner {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    text-align: center;
    flex-direction: column;
    width: 100%;
}

.banner img {
    height: 80px;
    margin-bottom: 10px;
    padding-right: 0;
    max-width: 100%;
}

.banner-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.title {
    font-size: 24px;
    font-weight: bold;
    color: #e36414;
    line-height: 1.2;
    text-align: center;
    margin: 5px 0;
}

.subtitle {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    line-height: 1.2;
    text-align: center;
    margin: 5px 0;
}

.subtitle2 {
    font-size: 14px;
    font-weight: bold;
    color: #000;
    line-height: 1.2;
    text-align: center;
    margin: 5px 0;
}

/* Legend Banner */
.legend-banner img {
    max-height: 120px;
    object-fit: contain;
    width: 100%;
}

/* Container Responsive */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* Destination Section */
.destination-container {
    margin-bottom: 1rem;
    width: 100%;
}

.form-label {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    display: block;
    text-align: center;
    padding: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #e36414;
    width: 100%;
}

.input-group {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.input-group:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    border-color: #e36414;
}

.input-group:focus-within {
    border-color: #e36414;
    box-shadow: 0 0 0 3px rgba(227, 100, 20, 0.1);
}

#destination {
    border: none;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 12px 15px;
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
    border-radius: 12px 0 0 12px;
    border-right: 2px solid #e9ecef;
    transition: all 0.3s ease;
    height: auto;
    min-height: 50px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e36414' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    padding-right: 40px;
    width: 100%;
    flex: 1 1 auto;
}

#destination:focus {
    outline: none;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: inset 0 0 0 2px #e36414;
}

#destination option {
    padding: 12px 15px;
    font-size: 14px;
    border-bottom: 1px solid #f1f1f1;
    background: white;
    color: #2c3e50;
    transition: all 0.2s ease;
}

#destination option:hover {
    background: linear-gradient(135deg, #e36414 0%, #ff7b3a 100%);
    color: white;
}

#destination option:checked {
    background: linear-gradient(135deg, #e36414 0%, #ff7b3a 100%);
    color: white;
    font-weight: 600;
}

/* Enhanced Button Styles */
#showRouteBtn {
    background: linear-gradient(135deg, #e36414 0%, #ff7b3a 100%);
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    border-radius: 0 12px 12px 0;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-height: 50px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    width: 100%;
    cursor: pointer;
    flex: 0 0 auto;
}

#showRouteBtn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

#showRouteBtn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(227, 100, 20, 0.3);
}

#showRouteBtn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(227, 100, 20, 0.3);
}

#showRouteBtn:disabled {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

#showRouteBtn:disabled::before {
    display: none;
}

.input-group-append {
    display: flex;
}

/* Map Container */
#map {
    height: 400px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Form Elements */
.form-control {
    font-size: 14px;
    padding: 10px 12px;
    width: 100%;
}

.btn {
    font-size: 14px;
    padding: 10px 20px;
    margin: 5px 0;
    width: 100%;
}

/* Legend */
.legend {
    position: absolute;
    background: white;
    padding: 8px;
    font-size: 10px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    max-width: 150px;
    bottom: 20px;
    right: 20px;
}

.legend div {
    margin: 2px 0;
    font-size: 10px;
    display: flex;
    align-items: center;
}

.legend img {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

.legend strong {
    display: block;
    margin-bottom: 5px;
    font-size: 11px;
}

/* QR Code */
#qrcode {
    max-width: 120px;
    margin: 0 auto;
}

#qrcode canvas {
    max-width: 100%;
    height: auto;
}

/* Risk Summary */
#riskSummary .alert {
    font-size: 14px;
    padding: 12px;
    width: 100%;
}

#riskSummary h4 {
    font-size: 16px;
}

/* Row and Column System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    width: 100%;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
}

/* Responsive Design */
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .banner {
        flex-direction: row;
        text-align: left;
        padding: 15px 20px;
    }
    
    .banner img {
        height: 90px;
        margin-bottom: 0;
        margin-right: 15px;
        flex: 0 0 auto;
    }
    
    .banner-text {
        flex: 1 1 auto;
        align-items: flex-start;
    }
    
    .title {
        font-size: 22px;
        text-align: left;
    }
    
    .subtitle {
        font-size: 18px;
        text-align: left;
    }
    .subtitle2 {
        font-size: 14px;
        text-align: left;
    }
    
    #map {
        height: 450px;
    }
    
    .container {
        max-width: 540px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .banner {
        padding: 15px 30px;
    }
    
    .banner img {
        height: 100px;
    }
    
    .title {
        font-size: 32px;
    }
    
    .subtitle {
        font-size: 24px;
    }
    .subtitle2 {
        font-size: 18px;
    }
    
    .form-label {
        font-size: 18px;
    }
    
    #destination {
        font-size: 15px;
        padding: 14px 20px;
        min-height: 54px;
    }
    
    #showRouteBtn {
        font-size: 15px;
        padding: 14px 25px;
        min-height: 54px;
        width: auto;
    }
    
    #map {
        height: 500px;
    }
    
    .legend {
        font-size: 12px;
        padding: 10px;
        max-width: 200px;
        bottom: auto;
        top: 70px;
    }
    
    .legend div {
        font-size: 12px;
        margin: 3px 0;
    }
    
    .legend strong {
        font-size: 13px;
    }
    
    .container {
        max-width: 720px;
    }
    
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .col-md-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
    
    .col-md-10 {
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }
    
    .col-md-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .input-group {
        flex-wrap: nowrap;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .title {
        font-size: 44px;
    }
    
    .subtitle {
        font-size: 42px;
    }
     .subtitle2 {
        font-size: 24px;
    }
    
    #destination {
        font-size: 16px;
    }
    
    #showRouteBtn {
        font-size: 16px;
    }
    
    .legend {
        top: 80px;
        right: 20px;
        font-size: 14px;
    }
    
    .container {
        max-width: 960px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .title {
        font-size: 52px;
    }
    
    .subtitle {
        font-size: 48px;
    }
     .subtitle2 {
        font-size: 22px;
    }
    
    .container {
        max-width: 1140px;
    }
}

/* Mobile-specific adjustments */
@media (max-width: 575.98px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .container.my-4 {
        padding: 15px;
        margin: 1rem 0.5rem !important;
    }
    
    .input-group {
        flex-direction: column;
        border-radius: 12px;
    }
    
    #destination {
        border-radius: 12px 12px 0 0;
        border-right: none;
        border-bottom: 2px solid #e9ecef;
        text-align: center;
    }
    
    #showRouteBtn {
        border-radius: 0 0 12px 12px;
        width: 100%;
    }
    
    .input-group-append {
        width: 100%;
    }
    
    .legend {
        bottom: 10px;
        left: 10px;
        right: auto;
        max-width: 140px;
    }
    
    /* Improve touch targets */
    .btn, #destination {
        min-height: 44px;
    }
    
    .mx-auto {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Very small devices */
@media (max-width: 360px) {
    .title {
        font-size: 18px;
    }
    
    .subtitle {
        font-size: 15px;
    }
     .subtitle2 {
        font-size: 10px;
    }
    .form-label {
        font-size: 14px;
        padding: 10px;
    }
    
    #destination, #showRouteBtn {
        font-size: 13px;
        padding: 10px 12px;
    }
    
    .banner {
        padding: 8px 10px;
    }
    
    .banner img {
        height: 70px;
    }
}

/* Orientation specific */
@media (max-height: 500px) and (orientation: landscape) {
    .banner {
        padding: 5px 10px;
        flex-direction: row;
    }
    
    .banner img {
        height: 60px;
        margin-bottom: 0;
        margin-right: 10px;
    }
    
    .title {
        font-size: 18px;
    }
    
    .subtitle {
        font-size: 16px;
    }
     .subtitle2 {
        font-size: 12px;
    }
    #map {
        height: 300px;
    }
    
    .form-label {
        padding: 8px;
        font-size: 14px;
    }
}

/* High-resolution displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .banner img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .input-group, #showRouteBtn {
        transition: none;
    }
    
    #showRouteBtn::before {
        display: none;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .input-group, .form-label {
        background: #2d3748;
        color: #e2e8f0;
    }
    
    #destination {
        background: #4a5568;
        color: #e2e8f0;
        border-color: #718096;
    }
    
    .legend {
        background: #2d3748;
        color: #e2e8f0;
    }
}

/* Utility classes for responsive spacing */
.responsive-padding {
    padding: 1rem;
}

@media (max-width: 768px) {
    .responsive-padding {
        padding: 0.5rem;
    }
}

.responsive-margin {
    margin: 1rem 0;
}

@media (max-width: 768px) {
    .responsive-margin {
        margin: 0.5rem 0;
    }
}

.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.my-3 { margin-top: 1rem; margin-bottom: 1rem; }
.my-4 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.my-5 { margin-top: 3rem; margin-bottom: 3rem; }

/* Text alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Display utilities */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-inline-block { display: inline-block !important; }

@media (max-width: 768px) {
    .d-md-none { display: none !important; }
    .d-md-block { display: block !important; }
}

/* Flex utilities */
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }

/* Button hover effects for desktop only */
@media (hover: hover) and (pointer: fine) {
    #showRouteBtn:hover {
        background: linear-gradient(135deg, #d35400 0%, #e36414 100%);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(227, 100, 20, 0.4);
    }
    
    #showRouteBtn:hover::before {
        left: 100%;
    }
}

/* Print styles */
@media print {
    .input-group, #showRouteBtn, .legend-banner {
        display: none !important;
    }
    
    #map {
        height: 600px;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .banner {
        flex-direction: row !important;
    }
}

/* Custom scrollbar for dropdown */
#destination::-webkit-scrollbar {
    width: 8px;
}

#destination::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

#destination::-webkit-scrollbar-thumb {
    background: #e36414;
    border-radius: 4px;
}

#destination::-webkit-scrollbar-thumb:hover {
    background: #d35400;
}

/* Animation for better user experience */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.input-group {
    animation: fadeIn 0.5s ease-out;
}

/* Focus visibility for accessibility */
@media (prefers-reduced-motion: no-preference) {
    :focus-visible {
        outline: 2px solid #e36414;
        outline-offset: 2px;
    }
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #e36414;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Header & Banner Responsive */
.banner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    text-align: center;
    flex-direction: column;
    width: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 3px solid #e36414;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e36414, #ff7b3a, #e36414);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.banner img {
    height: 80px;
    margin-bottom: 15px;
    padding-right: 0;
    max-width: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.banner:hover img {
    transform: scale(1.05);
}

.banner-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 8px;
}

.title {
    font-size: 24px;
    font-weight: 800;
    color: #e36414;
    line-height: 1.1;
    text-align: center;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #e36414 0%, #ff7b3a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(227, 100, 20, 0.2);
    position: relative;
    padding: 0 10px;
}

.title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e36414, transparent);
}

.subtitle {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.1;
    text-align: center;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 0 10px;
    position: relative;
}
.subtitle2 {
    font-size: 12px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.1;
    text-align: center;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 0 10px;
    position: relative;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .banner {
        flex-direction: row;
        text-align: left;
        padding: 20px 25px;
        justify-content: flex-start;
    }
    
    .banner img {
        height: 90px;
        margin-bottom: 0;
        margin-right: 20px;
        flex: 0 0 auto;
    }
    
    .banner-text {
        align-items: flex-start;
        gap: 10px;
    }
    
    .title {
        font-size: 28px;
        text-align: left;
        letter-spacing: 1.2px;
        padding: 0;
    }
    
    .title::after {
        left: 0;
        transform: none;
    }
    
    .subtitle {
        font-size: 20px;
        text-align: left;
        letter-spacing: 0.8px;
        padding: 0;
    }
    
    .subtitle2 {
        font-size: 14px;
        text-align: left;
        letter-spacing: 0.8px;
        padding: 0;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .banner {
        padding: 25px 40px;
    }
    
    .banner img {
        height: 110px;
        margin-right: 30px;
    }
    
    .title {
        font-size: 36px;
        letter-spacing: 1.5px;
    }
    
    .subtitle {
        font-size: 28px;
        letter-spacing: 1px;
    }
     .subtitle2 {
        font-size: 20px;
        letter-spacing: 1px;
    }
    
    .banner-text {
        gap: 12px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .banner {
        padding: 30px 50px;
    }
    
    .banner img {
        height: 120px;
        margin-right: 40px;
    }
    
    .title {
        font-size: 44px;
        letter-spacing: 2px;
    }
    
    .subtitle {
        font-size: 40px;
        letter-spacing: 1.2px;
    }
    
     .subtitle2 {
        font-size: 36px;
        letter-spacing: 1.2px;
    }
    .banner-text {
        gap: 15px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .banner {
        padding: 35px 60px;
    }
    
    .banner img {
        height: 130px;
        margin-right: 50px;
    }
    
    .title {
        font-size: 52px;
        letter-spacing: 2.5px;
    }
    
    .subtitle {
        font-size: 44px;
        letter-spacing: 1.5px;
    }
     .subtitle2 {
        font-size: 30px;
        letter-spacing: 1.2px;
    }
}

/* Extra extra large devices (4K screens) */
@media (min-width: 1600px) {
    .banner {
        padding: 40px 80px;
        max-width: 1600px;
        margin: 0 auto;
    }
    
    .title {
        font-size: 52px;
    }
    
    .subtitle {
        font-size: 44px;
    }
}

/* Mobile-specific adjustments */
@media (max-width: 575.98px) {
    .banner {
        padding: 12px 15px;
    }
    
    .banner img {
        height: 70px;
        margin-bottom: 12px;
    }
    
    .title {
        font-size: 20px;
        letter-spacing: 0.8px;
        padding: 0 5px;
    }
    
    .subtitle {
        font-size: 16px;
        letter-spacing: 0.4px;
        padding: 0 5px;
    }
     .subtitle2 {
        font-size: 10px;
        letter-spacing: 0.4px;
        padding: 0 5px;
    }
    
    .banner-text {
        gap: 6px;
    }
}

/* Very small devices */
@media (max-width: 360px) {
    .banner {
        padding: 10px 12px;
    }
    
    .banner img {
        height: 60px;
        margin-bottom: 10px;
    }
    
    .title {
        font-size: 18px;
        letter-spacing: 0.6px;
    }
    
    .subtitle {
        font-size: 14px;
        letter-spacing: 0.3px;
    }
    
    .subtitle2 {
        font-size: 14px;
        letter-spacing: 0.3px;
    }
    
    .banner-text {
        gap: 4px;
    }
}

/* Orientation specific - Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .banner {
        padding: 8px 15px;
        flex-direction: row;
    }
    
    .banner img {
        height: 50px;
        margin-bottom: 0;
        margin-right: 15px;
    }
    
    .title {
        font-size: 16px;
        letter-spacing: 0.5px;
    }
    
    .subtitle {
        font-size: 14px;
        letter-spacing: 0.3px;
    }
    
    .subtitle2 {
        font-size: 10px;
        letter-spacing: 0.3px;
    }
    
    .banner-text {
        gap: 4px;
    }
}

/* High-resolution displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .banner img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .banner::before {
        animation: none;
        background: #e36414;
    }
    
    .banner img {
        transition: none;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .banner {
        background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
        border-bottom-color: #e36414;
    }
    
    .subtitle {
        background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}

/* Print styles */
@media print {
    .banner {
        background: white !important;
        border-bottom: 2px solid #e36414;
        box-shadow: none;
    }
    
    .title {
        background: none !important;
        -webkit-text-fill-color: #e36414 !important;
        color: #e36414 !important;
    }
    
    .subtitle {
        background: none !important;
        -webkit-text-fill-color: #2c3e50 !important;
        color: #2c3e50 !important;
    }
    
    .banner::before {
        display: none;
    }
}

/* Focus styles for accessibility */
.banner:focus-within {
    outline: 2px solid #e36414;
    outline-offset: 2px;
}

/* Loading state for banner */
.banner.loading {
    opacity: 0.7;
}

/* Hover effects for desktop */
@media (hover: hover) and (pointer: fine) {
    .banner:hover .title {
        transform: translateY(-1px);
        transition: transform 0.3s ease;
    }
    
    .banner:hover .subtitle {
        transform: translateY(-1px);
        transition: transform 0.3s ease 0.1s;
    }
}