﻿.callbacks-page {
    height: 100%;
}

.callbacks-header {
    border-radius: 18px;
}

.callbacks-tabs {
    background: transparent;
}

.tab-panel-content {
    padding-top: 0.75rem;
}

.callback-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    border: 1px solid var(--mud-palette-lines-default);
}

    .callback-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.10);
    }

.callback-card-topbar {
    height: 5px;
    width: 100%;
}

.priority-low {
    background: var(--mud-palette-grey-light);
}

.priority-normal {
    background: var(--mud-palette-info);
}

.priority-high {
    background: var(--mud-palette-warning);
}

.priority-critical {
    background: var(--mud-palette-error);
}

.callback-main-info {
    min-width: 0;
}

.callback-info-row {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.callback-info-icon {
    margin-top: 2px;
    color: var(--mud-palette-text-secondary);
}

.callback-info-content {
    min-width: 0;
    flex: 1;
}

.callback-comment {
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.02);
}

.empty-state {
    border-radius: 18px;
    border: 1px dashed var(--mud-palette-lines-default);
    background: var(--mud-palette-background-grey);
}

.text-error {
    color: var(--mud-palette-error);
}

.callback-ticket-dialog {
    min-width: 0;
}

.callback-ticket-section {
    border-radius: 14px;
    background: var(--mud-palette-surface);
}

.callback-info-box {
    border-radius: 12px;
    background: var(--mud-palette-background-grey);
    height: 100%;
}

.callback-message-box {
    border-radius: 14px;
}

.callback-message-content {
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: var(--mud-palette-background-grey);
    border: 1px solid var(--mud-palette-lines-default);
    line-height: 1.55;
    word-break: break-word;
}

    .callback-message-content p:last-child {
        margin-bottom: 0;
    }

.callback-edit-dialog {
    min-width: min(760px, 95vw);
}

    .callback-edit-dialog .mud-paper {
        border-radius: 14px;
    }

    .callback-edit-dialog .mud-dialog-content {
        padding-top: 16px;
    }

    .callback-edit-dialog .mud-dialog-actions {
        padding: 16px 24px 20px 24px;
    }

.callback-fab-wrapper {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1300;
}

.callback-fab-chip {
    position: absolute;
    top: -35px;
    right: -8px;
    min-width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border-radius: 12px;
    z-index: 1;
}