﻿/*#region Grid Componente Responsividade */

.masonry-grid {
    display: flex;
    flex-wrap: wrap; 
    gap: 1rem; 
    width: 100%;
}

.masonry-item {
    display: block;
    margin-bottom: 1rem;
    /* Por padrão, ocupa a largura total (1 coluna em ecrãs pequenos) */
    flex: 1 1 100%;
    max-width: 100%;
}

/* Responsividade Avançada */

/* Em monitores médios/grandes (a partir de 1000px): Garante 2 colunas perfeitas */
@media (min-width: 1200px) {
    .masonry-item {
        flex: 1 1 calc(50% - 0.5rem);
        max-width: calc(50% - 0.5rem);
    }
}

/* Em monitores ultra-wide (a partir de 2000px): Garante 3 colunas perfeitas */
@media (min-width: 2000px) {
    .masonry-item {
        flex: 1 1 calc(33.333% - 0.66rem);
        max-width: calc(33.333% - 0.66rem);
    }
}

/*#endregion */


/*#region Comentarios RMA */

.jira-list-comment-item {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #6c757d;
    padding: 1rem;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
}

    /* Sobrescreve para Notas Internas (Amarelo) */
    .jira-list-comment-item.jira-internal-row {
        background-color: #fff3cd !important;
        border-color: #ffe69c !important;
        border-left: 4px solid #ffc107 !important;
    }

    /* Novo: Sobrescreve para Mensagens de Sistema (Cinzento Suave / Info) */
    .jira-list-comment-item.jira-system-row {
        background-color: #f8f9fa !important; /* Fundo cinzento suave neutro */
        border-color: #e9ecef !important;
        border-left: 4px solid #0dcaf0 !important; /* Barra azul "info" para destacar que é sistema */
    }

/* Garante que o ícone fica bem centrado dentro do círculo do avatar */
.jira-avatar {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    flex-shrink: 0;
}

/*#endregion */

/*#region Card RMA */
/* --- Classe Base: O esqueleto do Card --- */
.rds-card-modern {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 220px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    transition: all 0.2s ease-in-out;
    flex: 1; 
}

.rds-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.08);
    border-color: #dee2e6;
}
.rds-card-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rds-card-body {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.rds-card-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #6c757d;
    letter-spacing: 0.05rem;
    margin-bottom: 2px;
}

.rds-card-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: #212529;
    white-space: nowrap;
    text-overflow: ellipsis;
}



/*#endregion  Card RMA*/


/* Universo / Container do Fundo (Agora Claro) */
.orbis-universe {
    position: fixed;
    inset: 0;
    z-index: 0;
    /* Usa o subtil do teu tema mesclado com branco puro */
    background: var(--kendo-color-tertiary-subtle-active);
    overflow: hidden;
}

/* Estrutura Físico-Visual das Órbitas */
.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Linhas ligeiramente mais escuras/visíveis contra o fundo claro */
    border: 2px solid rgba(111, 66, 193, 0.18);
    border-radius: 50%;
    box-sizing: border-box;
}

/* Tamanhos e Tempos de Rotação */
.orbit-1 {
    width: 380px;
    height: 380px;
    animation: orbit-rotate-1 18s linear infinite;
}

.orbit-2 {
    width: 580px;
    height: 580px;
    animation: orbit-rotate-2 28s linear infinite reverse; /* Rotação invertida */
}

.orbit-3 {
    width: 780px;
    height: 780px;
    animation: orbit-rotate-3 42s linear infinite;
}

/* Os Planetas (Baseados no teu Roxo Primário e Hover) */
.planet {
    position: absolute;
    border-radius: 50%;
    /* Gradiente do roxo primário ao ativo para dar volumetria 3D */
    background: linear-gradient(135deg, var(--kendo-color-primary) 0%, var(--kendo-color-primary-active) 100%);
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.35), inset -2px -2px 6px rgba(0,0,0,0.3);
}

/* Detalhes de posicionamento de cada planeta */
.planet-1 {
    width: 24px;
    height: 24px;
    top: 50%;
    right: -12px;
    transform: translateY(-50%);
}

.planet-2 {
    width: 32px;
    height: 32px;
    top: 50%;
    left: -16px;
    transform: translateY(-50%);
}

.planet-3 {
    width: 50px;
    height: 50px;
    left: 50%;
    top: -25px;
    transform: translateX(-50%);
}

/* Keyframes de Rotação Centralizada */
@keyframes orbit-rotate-1 {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes orbit-rotate-2 {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes orbit-rotate-3 {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Estilos do Cartão Glassmorphism Adaptado para Fundo Claro */
.strix-center {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.glass-card {
    /* Fundo branco translúcido ligeiramente mais opaco para dar contraste no fundo claro */
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 48px 64px;
    text-align: center;
    min-width: 340px;
    max-width: 440px;
    box-sizing: border-box;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    /* Sombra suave e elegante */
    box-shadow: 0 20px 40px rgba(111, 66, 193, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Tipografia Ajustada para Escuro (Contraste) */
.app-name {
    font-size: 2.6em;
    font-weight: 700;
    color: var(--kendo-color-primary-active); /* Texto em roxo escuro */
    letter-spacing: 0.12em;
    margin: 0 0 8px;
   
}

.app-sub {
    font-size: 14px;
    color: #554971; /* Cinza-roxo escuro para melhor legibilidade */
    margin: 0 0 36px;
    letter-spacing: 0.05em;
}

/* Botão Customizado Telerik Bootstrap */
.btn-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

    .btn-row .k-btn-auth.k-button {
        background-color: var(--kendo-color-primary);
        color: var(--kendo-color-on-primary); /* Texto Branco */
        border-color: var(--kendo-color-primary);
        font-weight: 600;
        padding: 10px 32px;
        border-radius: 8px;
        transition: all 0.2s ease-in-out;
    }

        .btn-row .k-btn-auth.k-button:hover {
            background-color: var(--kendo-color-primary-hover);
            border-color: var(--kendo-color-primary-hover);
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(111, 66, 193, 0.3);
        }

        .btn-row .k-btn-auth.k-button:active {
            background-color: var(--kendo-color-primary-active);
            border-color: var(--kendo-color-primary-active);
            transform: translateY(1px);
            box-shadow: none;
        }

    .btn-row .k-button .k-svg-icon {
        margin-right: 8px;
        vertical-align: -2px;
    }