
html, body {
    height: 100%;
    background-color: #f8f9fa;
}
.main-wrapper {
    display: flex;
    min-height: calc(100vh - 56px);
}
.sidebar {
    border-right: 1px solid #dee2e6;
    transition: transform 0.3s ease;
    min-width: 270px;
}
.sidebar.collapsed {
    transform: translateX(-100%);
    display: none;
}

.email-item{
  color: inherit; /* если не хочешь синих ссылок */
  text-decoration: none; /* убирает подчеркивание */
  outline: none; /* убирает рамку при фокусе */
}
.email-item:hover {
    background-color: #f1f1f1;
    cursor: pointer;
}
.scrollable {
    overflow-y: auto;
    height: 100vh;
}
.text-main-color {
    color: #0a3e65 !important
}
.loader {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: #333;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #ccc;
    border-top-color: #3498db; /* Цвет верха */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.toasti__container{
    position: fixed; 
    top: 20px; 
    left: 20px; 
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.toasti {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 250px;
    max-width: 300px;
    padding: 12px 16px;
    margin-bottom: 10px;
    border-left: 5px solid;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
    animation: slideIn 0.3s ease-out;
    position: relative;
    background-color: #fff;
    color: #333;
}

.toasti-success {
    border-left-color: #2ecc71;
    background-color: #e9fff0;
    color: #2c8c5d;
}

.toasti-error {
    border-left-color: #e74c3c;
    background-color: #ffe9e9;
    color: #a5281e;
}

.toasti .close-btn {
    background: none;
    border: none;
    font-size: 18px;
    font-weight: bold;
    color: inherit;
    cursor: pointer;
    padding-left: 12px;
}

@keyframes slideIn {
    from { transform: translateX(-120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.modal-xl-custom {
    max-width: 90%; /* или px, например 800px */
}


.doc-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
}

.status-waiting { background-color: #e0f7fa; color: #00796b; }
.status-under_review { background-color: #E3F2FD; color: #1565C0; }
.status-acknowledged { background-color: #f0f4c3; color: #827717; }
.status-approved { background-color: #dcedc8; color: #33691e; }
.status-signed { background-color: #c8e6c9; color: #2e7d32; }
.status-success { background-color: #E0F7FA; color: #00838F; }
.status-rejected { background-color: #ffcdd2; color: #c62828; }