/* Modal Layout */

#petct-modal .mdl-content {
    height: 100vh;
    width: 100vw;
    border-radius: 0;
}

#petct-modal .mdl-body {
    flex: 1;
    display: flex;
}

#petct-content {
    flex: 1;
    display: flex;
    background-color: black;
    position: relative;
}


.petct-loading-overlay {
    z-index: 600;
}


.petct-pet-pill {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: rgba(43, 43, 45, 0.92);
    color: #00C5A0;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

.petct-pet-pill::before {
    content: '';
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(0, 197, 160, 0.25);
    border-top-color: #00C5A0;
    animation: vp-cache-spin 0.75s linear infinite;
}

#petct-modal .modal-footer::before,
#petct-modal .modal-footer::after {
    /* Remove content */
    content: none;
}

.modal-footer-left {
    display: flex;
}

.modal-footer-right {
    display: flex;
}


/* Toolbar Styles */
#petct-toolbar,
#petct-selectSeriesToolbar,
#petct-segmentationToolbar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
    margin-right: 1rem;
}

#petct-selectSeriesToolbar,
#petct-segmentationToolbar {
    margin-right: 2rem;
}

/* Form Controls */
#petct-toolbar button,
#petct-segmentationToolbar button {
    border-radius: 8px;
    background: var(--Viewer-on-Surface, #2C2C2E);
    cursor: pointer;
    color: #fff;
    padding: 0.6rem;
    border: none;
}

#petct-toolbar select,
#petct-selectSeriesToolbar select {
    border-radius: 8px;
    background: var(--Viewer-on-Surface, #2C2C2E);
    border: none;
    padding: 0.6rem;
    color: #fff;
    font-family: inherit;
}

#petct-toolbar label {
    font-size: 11px;
    color: #fff;
    margin-bottom: 0.125rem;
}

#petct-toolbar button:hover {
    background: var(--Viewer-Hover);
}

/* Print styles - remove black backgrounds to save ink */
@media print {
    #petct-content {
        background-color: white !important;
    }
}