﻿.my-boxform {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    transition: all 0.2s ease-in-out;
    padding: 1.5rem;
    margin: 0px 0px;
}

    .my-boxform:hover {
        box-shadow: 0 12px 20px rgba(0,0,0,0.08);
        border-color: #dee2e6;
    }


.rma-modal-scroll {
    max-height: 70vh;
    overflow-y: auto;
}

.k-window-titlebar {
    background-color: var(--kendo-color-primary) !important;
    color: white !important;
}

.rma-modal-scroll {
    max-height: 70vh;
    overflow-y: auto;
}

.rma-page-container {
    max-width: 1400px;
    margin-left: 0;
    /* margin: 0 auto; */
}

.metric-card {
    transition: transform 0.2s ease;
    border-radius: 12px !important;
}

    .metric-card:hover {
        transform: translateY(-4px);
    }


/* Modernizar as Tabs */
.k-tabstrip-items {
    border-bottom: 1px solid #e9ecef !important;
    gap: 10px;
}

    .k-tabstrip-items .k-item {
        border: none !important;
        background: transparent !important;
        color: #6c757d !important;
        padding: 10px 15px !important;
    }

        .k-tabstrip-items .k-item.k-active {
            color: var(--telerik-primary) !important;
            border-bottom: 3px solid var(--telerik-primary) !important;
            font-weight: 600;
        }

/* Grid container shadow */
.grid-container {
    border-radius: 8px;
    overflow: hidden;
}

.rma-page-container {
    max-width: 1400px;
    /* margin-left: 0;*/
    margin: 0 auto;
}

/* Melhoria no visual das Tabs da Telerik */
.k-tabstrip-items {
    border-bottom: 2px solid #dee2e6;
}

.k-tabstrip-top > .k-tabstrip-items .k-item.k-active {
    border-bottom: 2px solid var(--bs-primary);
}

/* --- GRID --- */
.Services-List.k-grid {
    border: none !important;
    background-color: transparent !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

    /* Cabeçalho */
    .Services-List.k-grid .k-grid-header {
        background-color: var(--kendo-color-app-surface) !important;
        border-bottom: 2px solid var(--kendo-color-border) !important;
        padding-right: 0 !important;
    }

        .Services-List.k-grid .k-grid-header th {
            padding: 16px 20px !important;
            text-transform: uppercase;
            font-size: 0.75rem !important;
            color: var(--kendo-color-subtle) !important;
            font-weight: 700 !important;
            border: none !important;
            background-color: transparent !important;
        }

    .Services-List.k-grid .k-grid-content {
        overflow: visible !important;
        background-color: transparent !important;
    }

    .Services-List.k-grid td {
        padding: 16px 20px !important;
        border-bottom: 1px solid var(--kendo-color-border-subtle) !important;
        color: var(--kendo-color-on-surface) !important;
        font-size: 0.875rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .Services-List.k-grid,
    .Services-List.k-grid *:focus {
        outline: none !important;
        box-shadow: none !important;
    }

        .Services-List.k-grid tr.k-selected,
        .Services-List.k-grid tr.k-state-selected,
        .Services-List.k-grid .k-selected td,
        .Services-List.k-grid .k-state-selected td {
            font-weight: bold !important;
        }

        .Services-List.k-grid .k-selected td,
        .Services-List.k-grid .k-selected a {
        }

.k-chat-bubble:has(.system-bubble) {
    background-color: var(--kendo-color-warning-subtle) !important;
    border: 1px solid var(--kendo-color-warning) !important;
    color: var(--kendo-color-warning-on-subtle) !important;
    box-shadow: none !important;
}


.rma-details-container {
    max-width: 1400px;
    margin: 0 auto;
}


/*#region Grid */

/* Container costumizado para envolver os cartões e grids */
.modern-grid-wrapper .k-grid {
    border: none !important;
    background-color: transparent !important;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Cabeçalho da Tabela (Header) */
.modern-grid-wrapper .k-grid-header {
    background-color: #f8f9fa !important; /* Cinza muito claro e limpo */
    border-bottom: 2px solid #edf2f7 !important;
    border-radius: 8px 8px 0 0;
}

    .modern-grid-wrapper .k-grid-header .k-header {
        color: #4a5568 !important; /* Texto escuro mas suave */
        font-weight: 600 !important;
        font-size: 0.825rem !important;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        padding: 12px 16px !important;
        border-width: 0 !important;
    }

/* Linhas e Células do Corpo da Tabela */
.modern-grid-wrapper .k-grid-table .k-master-row {
    background-color: #ffffff !important;
    transition: background-color 0.2s ease;
}

    /* Efeito Hover moderno (Suave) */
    .modern-grid-wrapper .k-grid-table .k-master-row:hover {
        background-color: #f7fafc !important;
        cursor: pointer;
    }

.modern-grid-wrapper .k-grid td {
    padding: 14px 16px !important; /* Mais espaço para respirar */
    color: #2d3748 !important;
    border-bottom: 1px solid #edf2f7 !important;
    border-width: 0 0 1px 0 !important; /* Remove linhas verticais separadoras */
    font-size: 0.875rem;
}

/* Estilização para quando a tabela está vazia */
.modern-grid-wrapper .k-grid-norecords {
    padding: 32px !important;
    color: #a0aec0 !important;
    font-style: italic;
}

/* Ajuste nos Badges do Bootstrap para ficarem estilo "Pill" moderno */
.modern-grid-wrapper .badge {
    padding: 6px 12px !important;
    font-weight: 500 !important;
    border-radius: 30px !important; /* Cantos totalmente arredondados */
    letter-spacing: 0.02em;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/*#endregion Grid*/


/*#region Comentarios */
.jira-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.jira-list-comment-item {
    border-bottom: 1px solid #eaedf1;
    padding: 20px 0;
    transition: background-color 0.15s ease;
}

    .jira-list-comment-item:last-child {
        border-bottom: none;
    }

    .jira-list-comment-item:hover {
        background-color: #fafbfc;
    }

.jira-comment-body {
    font-size: 0.95rem;
    line-height: 1.5;
    white-space: pre-wrap;
}

.jira-system-item {
    padding: 12px 0 12px 48px;
    border-bottom: 1px solid #eaedf1;
    display: flex;
    align-items: center;
}

    .jira-system-item:last-child {
        border-bottom: none;
    }


/*#endregion Comentarios */