.column-service_image {
    width: 100px;
    text-align: center;
}
.column-service_image img {
    max-width: 80px;
    height: auto;
}
.fc-timegrid-slot {
    height: 80px !important;
}
#appointment-details-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999 !important;
    transform: none !important;
}
.appointment-modal-content {
    display: flex;
    flex-direction: column;
    max-height: 80vh;
    max-width: 600px;
    width: 90vw;
    background: #fff;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-top: 10px solid transparent;
    z-index: 1 !important;
}
.appointment-modal-content #appointment-details-body {
    flex: 1 1 auto;
    overflow-y: auto;
    margin-bottom: 20px;
}
.modal-footer {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}
.fc-v-event {
    padding-left: 5px;
    border-color: #333333;
}
.fc-v-event .fc-event-main {
    color: black;
}
.fc-v-event {
    position: relative;
    overflow: hidden;
    max-height: 100%;
}
.fc-v-event:hover {
    z-index: 5;
    overflow: visible;
}
.fc-v-event:hover .fc-event-main {
    background: #f5f5f5;
}
.fc-v-event .fc-event-main {
    white-space: normal;
}

.tablenav,
.tablenav .tablenav-pages {
    display: flex;
    justify-content: center;
}

.tablenav .tablenav-pages ul {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.mpfrs-tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    margin-left: 6px;
    padding: 0 5px;
    border-radius: 999px;
    background: #d63638;
    color: #fff;
    font-size: 11px;
    line-height: 1;
    vertical-align: middle;
}

.mpfrs-editor-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.mpfrs-editor-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.mpfrs-editor-content {
    position: relative;
    background: #fff;
    width: 92vw;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 20px 24px 24px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.mpfrs-editor-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 22px;
    cursor: pointer;
}

.mpfrs-editor-section {
    margin: 16px 0 20px;
    border-top: 1px solid #e2e2e2;
    padding-top: 14px;
}

.mpfrs-editor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px 18px;
}

.mpfrs-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.mpfrs-field input[type=\"text\"],
.mpfrs-field input[type=\"email\"],
.mpfrs-field input[type=\"date\"],
.mpfrs-field select,
.mpfrs-field textarea {
    width: 100%;
    max-width: 100%;
}

.mpfrs-field-wide {
    grid-column: 1 / -1;
}

.mpfrs-field-checkbox {
    display: flex;
    align-items: center;
}

.mpfrs-editor-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.mpfrs-editor-actions .mpfrs-editor-status {
    margin-left: auto;
}

.mpfrs-file-row,
.appointment-modal-content #appointment-details-body .column p {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 6px;
}

.mpfrs-file-row a,
.appointment-modal-content #appointment-details-body .column p a {
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

.mpfrs-repair-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}

.mpfrs-repair-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.mpfrs-repair-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1px solid #ddd;
}

.mpfrs-field-disabled {
    opacity: 0.7;
}

.mpfrs-page-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 16px;
}

.mpfrs-page-title .wp-heading-inline {
    margin: 0;
    padding: 0;
}

.mpfrs-appointments-filter .mpfrs-filter-right {
    margin-left: auto;
}

.mpfrs-no-results {
    font-style: italic;
    font-size: 20px;
    padding: 60px;
    text-align: center;
}

#mpfrs-appointment-editor-form.mpfrs-free-mode-on #mpfrs-editor-time {
    display: none;
}

#mpfrs-appointment-editor-form.mpfrs-free-mode-on .mpfrs-time-free-input,
#mpfrs-appointment-editor-form.mpfrs-free-mode-on .mpfrs-time-free-hint {
    display: block !important;
}
