.cancer-type-layout.container {
    max-width: 1200px;
}

.cancer-type-page {
    margin-top: 0;
    padding-top: 1.5rem;
    overflow: visible;
}

.cancer-type-grid {
    align-items: stretch;
}

.cancer-type-sidebar-col {
    margin-bottom: 2rem;
    position: relative;
}

.cancer-sidebar-placeholder {
    display: none;
    width: 100%;
}

.doctor-profile-card--sticky.is-fixed,
.doctor-profile-card--sticky.is-bottom {
    box-shadow: 0 8px 24px rgba(7, 46, 104, 0.12);
}

.doctor-profile-card--sticky {
    text-align: left;
}

.doctor-profile-card__image {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid #b3c8ff;
}

@media screen and (max-width: 991px) {
    .cancer-type-sidebar-col {
        margin-top: 1rem;
        margin-bottom: 0;
    }

    .doctor-profile-card--sticky.is-fixed,
    .doctor-profile-card--sticky.is-bottom {
        position: static !important;
        top: auto !important;
        left: auto !important;
        width: auto !important;
        box-shadow: 0 4px 20px rgba(7, 46, 104, 0.06);
    }
}

@media screen and (max-width: 600px) {
    .cancer-type-page {
        padding-top: 1rem;
    }

    .cancer-type-page .test-machine {
        width: 100% !important;
    }
}

.cancer-hero {
    background: linear-gradient(135deg, #f0f5ff 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    border: 1px solid #d6e4ff;
}

.cancer-hero h1 {
    color: #072e68;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
}

.cancer-hero p {
    color: #313131;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.cancer-section {
    margin-bottom: 2rem;
}

.cancer-section h2 {
    color: #072e68;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cancer-section h3 {
    color: #0b63e5;
    font-size: 1.15rem;
    font-weight: 600;
    margin: 1.25rem 0 0.75rem;
}

.cancer-section p {
    color: #313131;
    font-size: 1rem;
    line-height: 1.7;
}

.cancer-section ul {
    padding-left: 1.25rem;
    margin-bottom: 0;
}

.cancer-section ul li {
    color: #313131;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.cancer-why-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
}

.cancer-why-table th,
.cancer-why-table td {
    border: 1px solid #d6e4ff;
    padding: 0.85rem 1rem;
    text-align: left;
    vertical-align: top;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cancer-why-table th {
    background: #f0f5ff;
    color: #072e68;
    font-weight: 600;
    width: 32%;
}

.cancer-cta-box {
    background: linear-gradient(111.71deg, #f0f5ff -29.67%, #e8eeff 91.73%);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #b3c8ff;
    width: 100%;
}

.cancer-cta-box h2 {
    color: #072e68;
    font-size: 1.5rem;
    font-weight: 600;
}

.cancer-cta-box p {
    color: #313131;
    line-height: 1.7;
}

.cancer-contact-info {
    color: #072e68;
    font-weight: 500;
}

.cancer-book-btn {
    background: linear-gradient(111.71deg, #cbd6f9 -29.67%, #3b59c4 91.73%);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.85rem 2rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    font-size: 0.95rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cancer-book-btn:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(59, 89, 196, 0.25);
}

.doctor-profile-card {
    background: #fff;
    border: 1px solid #d6e4ff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(7, 46, 104, 0.06);
}

.doctor-profile-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid #b3c8ff;
}

.doctor-profile-card h3 {
    color: #072e68;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.doctor-profile-card .doctor-role {
    color: #0b63e5;
    font-size: 0.95rem;
    font-weight: 500;
}

.doctor-profile-card .doctor-qual {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cancer-appointment-modal.modal {
    z-index: 10000001 !important;
}

body.modal-open:has(#cancerAppointmentModal.show) .modal-backdrop {
    z-index: 10000000 !important;
}

.cancer-appointment-modal .modal-content {
    border-radius: 16px;
    border: none;
    overflow: hidden;
}

.cancer-appointment-modal .modal-header {
    background: linear-gradient(111.71deg, #f0f5ff -29.67%, #e8eeff 91.73%);
    border-bottom: 1px solid #d6e4ff;
    padding: 1.25rem 1.5rem;
}

.cancer-appointment-modal .modal-title {
    color: #072e68;
    font-weight: 600;
    font-size: 1.25rem;
}

.cancer-appointment-modal .form-label {
    color: #313131;
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.cancer-appointment-modal .form-control,
.cancer-appointment-modal .form-select,
.cancer-appointment-modal textarea.form-control {
    border-radius: 12px;
    border: 1px solid #e1e1e1;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    resize: vertical;
}

.cancer-appointment-modal .form-control:focus,
.cancer-appointment-modal .form-select:focus {
    border-color: #3b59c4;
    box-shadow: 0 0 0 0.2rem rgba(59, 89, 196, 0.15);
}

.cancer-appointment-modal .form-control[readonly] {
    background-color: #f8f9fc;
    color: #495057;
}

.cancer-modal-submit {
    background: linear-gradient(111.71deg, #cbd6f9 -29.67%, #3b59c4 91.73%);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    width: 100%;
}

.cancer-modal-submit:hover {
    color: #fff;
    opacity: 0.95;
}

.cancer-modal-submit:disabled {
    opacity: 0.7;
}

.cancer-modal-success {
    display: none;
    background: #d1e7dd;
    color: #0f5132;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    font-weight: 500;
}

@media screen and (max-width: 768px) {
    .cancer-hero h1 {
        font-size: 1.5rem;
    }

    .cancer-section h2 {
        font-size: 1.25rem;
    }

    .doctor-profile-card {
        text-align: center;
    }

    .doctor-profile-card img {
        margin-bottom: 1rem;
    }
}
