/* corpo principal */
.custom-body {
    color: rgb(52, 52, 52);
    background: linear-gradient(rgba(232, 243, 255, 0.407), #004c831c);
    min-height: 100vh;
    /*para ocupar a tela toda*/
}
/*======== configurações especificas ========*/
.card-header {
    border-radius: 1rem 1rem 0 0 !important;
}
.bg-ed {
    background-color: #f8fafc;
    border-radius: 0 0 1rem 1rem;
}

/*======== navigation.blade ========*/
.input-group-text {
    background-color: none;
}
/* Navegação geral */
.main-nav {
    background-color: aliceblue;
    border-bottom: 1px solid #dbdbdb;
    font-family: "Figtree", sans-serif;
}

.footer {
    background-color: #004c831c;
    border-top: 1px solid #dbdbdb;
    font-family: "Figtree", sans-serif;
}
footer p {
    margin: 0px;
}

/* Logo */
.logo-icon {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 4px 3px rgb(0, 0, 0));
}

.navbarBrand a {
    transition: transform 0.3s ease;
}

.navbarBrand a:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.147);
}

/* Links de navegação */
.navbar-nav li a {
    text-decoration: none;
    color: #333;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.205);
    font-weight: 500;
    font-size: 17px;
    transition: color 0.3s;
    padding: 6px 0;
    position: relative;
}

.navbar-nav li a:hover {
    color: #04538c;
}

.navbar-nav .active {
    color: #022e4e !important;
    font-weight: bold;
}

.navbar-nav li a:before {
    content: "";
    text-decoration: none;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: #04538c;
    transition: all 0.4s ease;
}

.navbar-nav li a:hover:before {
    width: 100%;
}

.navbar-nav li a:before {
    left: 50%;
    transform: translateX(-50%);
}

/* Área do usuário */
.user-info .btn {
    padding: 5px 12px;
    border-radius: 25px;
}

.user-info {
    background: rgba(246, 250, 255, 0.9);
    padding: 12px 20px;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.375);
}

.user-name {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    position: relative;
    padding-right: 15px;
    transition: all 0.3s ease;
}

.user-name:hover {
    color: #022e4e;
    transform: scale(1.05);
}

.user-name::after {
    /*tracinho ao lado do nome do usuario*/
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background: linear-gradient(to bottom, transparent, #ccc, transparent);
}

.user-link {
    border: none;
    color: white;
    background-color: #04538c;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.user-link:hover {
    color: white;
    background: #004c83;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 46, 78, 0.2);
}

.user-link::after {
    content: "";
    color: white;
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.5s;
}

.user-link:hover::after {
    left: 100%;
}

.logout {
    border: none;
    background: linear-gradient(135deg, #ea5c5c, #dc4941);
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(238, 90, 82, 0.3);
}

/* .logout::before {
    font-size: 12px;
} */

.logout:hover {
    background: linear-gradient(135deg, #ee5a52, #ff6b6b);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(238, 90, 82, 0.4);
    color: white;
}

/*======== fim navigation.blade ========*/

/*======== notas.create.blade ========*/
/*Botão de criar nota*/
.btn-primary-ed {
    background-color: #004c83;
    color: #fff;
    transition: background-color 0.3s ease;
}

.btn-primary-ed:hover {
    background-color: #022e4e;
    color: white;
}

.btn-primary-ed2 {
    background-color: #0969ae;
    color: #fff;
    transition: background-color 0.3s ease;
}

.btn-primary-ed2:hover {
    background-color: #04538c;
    color: white;
}

/*======== fim notas.create.blade ========*/

/*======== notas.index.blade ========*/
.textColor {
    color: #04538c;
}

.btn-red {
    background: linear-gradient(135deg, #ea5c5c, #dc4941);
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(238, 90, 82, 0.3);
}

.hover-shadow {
    transition: box-shadow 0.3s ease;
}

.hover-shadow:hover {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.35);
}

.bg-warning-ed {
    background-color: #f6a700;
}

.btn-warning-ed {
    background-color: #eaad29;
    color: white;
}

.btn-warning-ed:hover {
    background-color: #d89e21;
    color: white;
}

.bg-orange {
    background-color: orangered;
}

.border-orange {
    border: 1px solid orangered;
}

.text-orange {
    color: orangered;
}

.text-warning-ed {
    color: #f6a700;
}

.border-warning-ed {
    border: 1px solid #f6a700;
}

/* para manter o conteudo resumido */
.conteudo-truncado {
    max-height: 4.5em;
    overflow: hidden;
    position: relative;
    line-height: 1.5em;
}

/* Os 3 pontinhos */
/* .conteudo-truncado::after {
    content: '. . .';
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0 5px 0 15px;
    background: white;
    color: #6c757d;
    font-weight: bold;
    z-index: 2;
    pointer-events: none;
} */

/* anexos */
.conteudo-nota {
    transition: all 0.8s ease;
}

.anexo-card {
    transition: all 0.2s ease;
    background: white;
}

.anexo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.img-preview {
    width: 100%;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.img-preview:hover {
    transform: scale(1.05);
}

.toggle-btn {
    transition: all 0.2s ease;
}

.toggle-btn:hover {
    transform: translateY(-1px);
}

/* ajustes Quill */
/* Remove numeração padrão do <ol> pai */
.conteudo-nota ol {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

/* Aplica padding para itens de lista */
.conteudo-nota li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.3em;
}

/* Lista ordenada (números) */
.conteudo-nota li[data-list="ordered"]::before {
    counter-increment: custom-counter;
    content: counter(custom-counter) ". ";
    position: absolute;
    left: 0;
    font-weight: 500;
}

/* Reinicia contador em cada <ol> */
.conteudo-nota ol {
    counter-reset: custom-counter;
}

/* Bullet (lista não ordenada) */
.conteudo-nota li[data-list="bullet"]::before {
    content: "•";
    position: absolute;
    left: 0;
    font-weight: bold;
}
/*======== fim notas.index.blade ========*/

/*======== notificacoes acessadas pelo email ========*/
.highlight-nota {
    background-color: #fff3cd !important;
    border: 3px solid #ffc107 !important;
    position: relative;
    z-index: 1;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.2) !important;
    transition: all 0.5s ease-out;
    animation: highlight-pulse 2s infinite;
}

.highlight-nota.fade-out {
    background-color: transparent !important;
    border-color: #dee2e6 !important;
    transform: translateY(0) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
    animation: none;
}

@keyframes highlight-pulse {
    0% {
        box-shadow: 0 10px 20px rgba(255, 193, 7, 0.2);
        border-color: #ffc107;
    }
    50% {
        box-shadow: 0 15px 30px rgba(255, 193, 7, 0.4);
        border-color: #ffdb4d;
    }
    100% {
        box-shadow: 0 10px 20px rgba(255, 193, 7, 0.2);
        border-color: #ffc107;
    }
}
/*======== fim notificacoes acessadas pelo email ========*/
