﻿/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.dashboard-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.primary-action-btn {
    border: 0;
    border-radius: 9px;
    padding: 11px 18px;
    background: #0f6b8f;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

    .primary-action-btn:hover {
        background: #0c5875;
    }

.combined-modal-card {
    width: 620px;
    max-width: calc(100vw - 30px);
}

.form-label {
    display: block;
    margin: 16px 0 7px;
    font-weight: 700;
    color: #334155;
}

.combined-search-btn {
    margin-top: 15px;
}

.combined-loading {
    margin-top: 20px;
    padding: 18px;
    border-radius: 10px;
    background: #eff6ff;
    color: #1d4ed8;
    text-align: center;
}

.combined-patient-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0 12px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f1f5f9;
}

    .combined-patient-info span {
        color: #475569;
    }

.combined-slot-row {
    display: grid;
    grid-template-columns: 42px 1fr 145px;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
    padding: 13px;
    border: 1px solid #dbe4ee;
    border-radius: 11px;
    background: #ffffff;
}

.combined-slot-number {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #0f6b8f;
    color: #ffffff;
    font-weight: 700;
}

.combined-slot-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .combined-slot-content span {
        color: #64748b;
        font-size: 13px;
    }

.combined-slot-time {
    text-align: right;
    color: #0f172a;
    font-weight: 700;
}

    .combined-slot-time small {
        display: block;
        margin-top: 4px;
        color: #64748b;
        font-weight: 400;
    }

.hold-warning {
    margin-top: 14px;
    padding: 12px;
    border-radius: 9px;
    background: #fff7ed;
    color: #9a3412;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.fc-event.temporary-hold-event {
    opacity: 0.82;
    border-style: dashed;
}

@media (max-width: 700px) {
    .dashboard-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .combined-slot-row {
        grid-template-columns: 38px 1fr;
    }

    .combined-slot-time {
        grid-column: 2;
        text-align: left;
    }

    .combined-patient-info {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
}
