/* ========================================
   Appointment Page Sidebar
======================================== */

.abp-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.abp-sidebar-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #edf1f7;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 8px 28px rgba(9, 45, 104, 0.055);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.abp-sidebar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 34px rgba(9, 45, 104, 0.085);
}


/* Heading */
.abp-card-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.abp-card-heading h4 {
    margin: 0;
    padding: 0;
    color: #092d68;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 800;
}


/* Icon */
.abp-card-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff0f6;
    color: #ff3484;
}

.abp-card-icon svg {
    width: 17px;
    height: 17px;
}


/* Appointment description */
.abp-card-description {
    margin: 0 0 16px;
    color: #667085;
    font-size: 13px;
    line-height: 1.65;
}


/* Buttons wrapper */
.abp-contact-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


/* Common button */
.abp-action-btn {
    width: 100%;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    border: 0;
    text-decoration: none !important;

    font-size: 12.5px;
    line-height: 1.35;
    font-weight: 800;
    text-align: center;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

.abp-action-btn:hover {
    transform: translateY(-1px);
    text-decoration: none !important;
}

.abp-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.abp-btn-icon svg {
    width: 15px;
    height: 15px;
}


/* Call */
.abp-call-btn {
    background: #37c675;
    color: #ffffff !important;
    box-shadow: 0 7px 18px rgba(55, 198, 117, 0.18);
}

.abp-call-btn:hover {
    background: #2eb76a;
    color: #ffffff !important;
    box-shadow: 0 9px 22px rgba(55, 198, 117, 0.25);
}


/* WhatsApp */
.abp-whatsapp-btn {
    background: #ff3484;
    color: #ffffff !important;
    box-shadow: 0 7px 18px rgba(255, 52, 132, 0.18);
}

.abp-whatsapp-btn:hover {
    background: #ef2877;
    color: #ffffff !important;
    box-shadow: 0 9px 22px rgba(255, 52, 132, 0.25);
}


/* ========================================
   Clinic Hours
======================================== */

.abp-hours-list {
    display: flex;
    flex-direction: column;
}

.abp-hours-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f3f8;
    font-size: 12.5px;
}

.abp-hours-row:first-child {
    padding-top: 4px;
}

.abp-hours-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.abp-hours-row span {
    color: #667085;
    line-height: 1.4;
}

.abp-hours-row strong {
    flex-shrink: 0;
    color: #092d68;
    font-weight: 800;
    white-space: nowrap;
}

.abp-hours-row .abp-closed {
    color: #ef4444;
}


/* ========================================
   Address
======================================== */

.abp-address {
    position: relative;
    margin: 2px 0 0;
    padding-left: 44px;

    color: #667085;
    font-size: 12.5px;
    line-height: 1.7;
}

/* subtle vertical design line */
.abp-address::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    border-radius: 5px;
    background: #ffe0ec;
}


/* ========================================
   Responsive
======================================== */

@media (max-width: 767px) {
    .abp-sidebar {
        gap: 14px;
    }

    .abp-sidebar-card {
        padding: 18px;
        border-radius: 16px;
    }

    .abp-card-heading h4 {
        font-size: 14px;
    }

    .abp-card-description,
    .abp-address,
    .abp-hours-row {
        font-size: 12px;
    }

    .abp-action-btn {
        min-height: 41px;
        font-size: 12px;
        padding-left: 12px;
        padding-right: 12px;
    }
}
