.row.apptitle.blue-backgroun {
    background: #145082;
    color: #fff;
}

.row.apptitle.blue-backgroun h1 {
    font-weight: 900;
}

.row.light-blue-background{
    background: #0c6ab236;
}

img.img-fluid.appimage {
    text-align: center;
}

img.img-fluid.appimage.apple {
    width: 235px;
    margin-left: 7px;
    margin-top: 16px;
}

img.img-fluid.appimage.google {
    width: 270px;
    margin-left: -11px;
}

/* ================================================
   MOBILE RESPONSIVE STYLES FOR BOOKING INTERFACE
   ================================================ */

/* Mobile: Base responsive adjustments */
@media (max-width: 768px) {
    /* Container padding */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Booking main title */
    .booking-main-title {
        font-size: 1.5rem !important;
        padding: 1rem 0;
    }

    .booking-state-title {
        font-size: 1.25rem !important;
    }

    /* Step indicator - stack vertically on mobile */
    .step-indicator .steps {
        flex-direction: column !important;
        gap: 1rem;
    }

    .step-indicator .step {
        width: 100% !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
    }

    .step-indicator .step-icon {
        margin-right: 1rem;
        margin-bottom: 0 !important;
    }

    .step-indicator .step-label {
        text-align: left !important;
    }

    /* Company cards */
    .companies-grid {
        grid-template-columns: 1fr !important;
    }

    .company-card {
        margin-bottom: 1rem;
    }

    /* Service buttons */
    .service-actions {
        flex-direction: column !important;
        gap: 0.5rem;
    }

    .service-btn, .external-btn {
        width: 100% !important;
        margin: 0 !important;
    }

    /* Form inputs */
    .form-control, .form-select {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }

    /* Time slot buttons */
    .time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)) !important;
    }

    button.btn.timebutton {
        width: 100% !important;
        min-width: 70px;
        font-size: 0.875rem;
    }

    /* Calendar */
    .vdp-datepicker__calendar {
        width: 100% !important;
        font-size: 0.875rem;
    }

    .vdp-datepicker__calendar .cell {
        height: 35px !important;
        line-height: 35px !important;
    }

    /* Summary cards */
    .summary-card, .info-card {
        padding: 1rem !important;
    }

    /* Buttons */
    .btn-group {
        flex-direction: column !important;
        width: 100%;
    }

    .btn-group .btn {
        width: 100% !important;
        margin-bottom: 0.5rem;
    }

    /* Step content */
    .step-content {
        padding: 1rem !important;
    }

    /* Tables */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table {
        font-size: 0.875rem;
    }

    /* Search box */
    .search-box {
        width: 100% !important;
    }

    .search-input {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }

    /* Entity selection */
    .entity-grid {
        grid-template-columns: 1fr !important;
    }

    /* Modals */
    .modal-dialog {
        margin: 0.5rem !important;
    }

    .modal-content {
        border-radius: 0.5rem;
    }

    /* Navigation buttons */
    .navigation-buttons {
        flex-direction: column-reverse !important;
        gap: 0.5rem;
    }

    .navigation-buttons .btn {
        width: 100% !important;
    }

    /* Success page */
    .success-icon {
        font-size: 3rem !important;
    }

    .success-title {
        font-size: 1.5rem !important;
    }

    /* Alert messages */
    .alert {
        font-size: 0.875rem;
        padding: 0.75rem;
    }

    /* Breadcrumb */
    .breadcrumb-info {
        flex-wrap: wrap !important;
        font-size: 0.875rem;
    }

    /* Service media/images */
    .service-media img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Date picker improvements */
    .vdp-datepicker {
        width: 100% !important;
    }

    /* Appointment summary */
    .appointment-details {
        font-size: 0.875rem;
    }

    .appointment-details .row {
        margin-bottom: 0.5rem;
    }
}

/* Small mobile devices (phones in portrait) */
@media (max-width: 480px) {
    .booking-main-title {
        font-size: 1.25rem !important;
    }

    .step-indicator .step-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .step-indicator .step-label {
        font-size: 0.875rem;
    }

    button.btn.timebutton {
        min-width: 60px;
        font-size: 0.75rem;
        padding: 0.5rem 0.25rem;
    }

    .company-title {
        font-size: 1rem !important;
    }

    .service-title {
        font-size: 0.875rem !important;
    }

    .btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }

    h1, h2, h3 {
        word-wrap: break-word;
    }
}

/* Tablet landscape */
@media (min-width: 769px) and (max-width: 1024px) {
    .companies-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)) !important;
    }
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
    /* Increase tap target sizes for touch devices */
    .btn, button, a.nav-link, .service-item {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Remove hover effects on touch devices */
    .btn:hover, .service-item:hover {
        transform: none !important;
    }

    /* Add active state for touch feedback */
    .btn:active, .service-item:active {
        opacity: 0.8;
        transform: scale(0.98);
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .step-indicator {
        padding: 0.5rem 0;
    }

    .booking-main-title {
        font-size: 1.25rem !important;
        padding: 0.5rem 0;
    }

    .step-content {
        padding: 0.75rem !important;
    }
}