/*
 *= require simple_calendar

        DEMO STYLE

        --colorbasic2: #ff1744;

        preto 
         --colorbasic: #1b0000;
        --colorbasic2: #3e2723;

        cinza

            --colorbasic: #8d8d8d;
        --colorbasic2: #bdbdbd;
amarelo
                --colorbasic: #c6a700;
        --colorbasic2: #fdd835;
*/

@import "simple_calendar";

@import "professor_chat";

:root {
    --colorbasic: #297a7b;
    --colorbasic2: #429c9c;
    --colortext: #FFF; 
    --colortext-menu: #FFF; 
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #fafafa;
    height: 100%;
}



select {
    background: #f7f9fa;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    padding: 10px 32px 10px 14px;
    font-size: 1em;
    font-family: 'Poppins', sans-serif;
    color: #2c3e50;
    box-shadow: 0 1px 4px rgba(66,156,156,0.05);
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23429C9C" height="14" viewBox="0 0 20 20" width="14" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px 14px;
}

select:focus {
    border-color: #429C9C;
    box-shadow: 0 0 0 3px rgba(66,156,156,0.10);
}

    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="date"],
    input[type="search"],
    textarea {
        background: #fff;
        border: 1.5px solid #e0e0e0;
        border-radius: 10px;
        padding: 10px 14px;
        font-size: 1em;
        font-family: 'Poppins', sans-serif;
        color: #2c3e50;
        box-shadow: 0 2px 8px rgba(66,156,156,0.07);
        transition: border-color 0.3s, box-shadow 0.3s;
        outline: none;
    }

    input[type="text"]:focus,
    input[type="email"]:focus,
    input[type="password"]:focus,
    input[type="number"]:focus,
    input[type="date"]:focus,
    input[type="search"]:focus,
    textarea:focus,
    select:focus {
        border-color: #429C9C;
        box-shadow: 0 0 0 4px rgba(66,156,156,0.12);
    }

#sidebar {
    min-width: 250px;
    max-width: 250px;
    min-height: 100vb;
    background: linear-gradient(180deg, #429C9C 0%, #368080 100%);
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.1);
}

#sidebar.active {
    margin-left: -250px;
}

#sidebar .sidebar-header {
    padding: 20px;
    background: transparent;
}

#sidebar ul.components {
    padding: 20px 0;
    background: linear-gradient(180deg, #368080 0%, #2d6b6b 100%);
    border-color: transparent !important;
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 12px 20px;
    font-size: 1em;
    display: block;
    border-radius: 8px;
    margin: 4px 12px;
    transition: all 0.3s ease;
    font-weight: 500;
}

#sidebar ul li a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
    color: #ffffff;
}

#sidebar ul li.active>a,
a[aria-expanded="true"] {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.espaco-menu{
    min-height: auto;
    background-color: #000;
}


.color-principal-escura{
    background: linear-gradient(135deg, #429C9C 0%, #368080 100%);
    border-color: transparent !important;
}

.colorprimarybtn{
    background: linear-gradient(135deg, #429C9C 0%, #368080 100%);
    border: none !important;
    color: #ffffff;
    margin-top: 5px;
    min-width: 100%;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(66, 156, 156, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.colorprimarybtn2{
    background: linear-gradient(135deg, #429C9C 0%, #368080 100%);
    border: none !important;
    color: #ffffff;
    margin-top: 5px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(66, 156, 156, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.color-menu{
    background: linear-gradient(135deg, #f4d85d 0%, #f0c040 100%);
    border: none !important;
    color: #2c3e50;
    margin-top: 5px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(244, 216, 93, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.color-menu:hover {
    background: linear-gradient(135deg, #f0c040 0%, #e5b030 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(244, 216, 93, 0.4);
    color: #1a252f;
}


a.colorprimarybtn2:link, a.colorprimarybtn2:visited {
	text-decoration: none;
    color: #ffffff;
}

.colorprimarybtn2:hover {
    background: linear-gradient(135deg, #368080 0%, #2d6b6b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(66, 156, 156, 0.4);
    color: #ffffff;
}


a.colorprimarybtn:link, a.colorprimarybtn:visited {
	text-decoration: none;
    color: #ffffff;
}

.colorprimarybtn:hover {
    background: linear-gradient(135deg, #368080 0%, #2d6b6b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(66, 156, 156, 0.4);
    color: #ffffff;
}

.page-item.active.colorlinkprimary .page-link{
    color: #fff;
    background-color: var(--colorbasic2);
    border-color: var(--colorbasic2);
    color: var(--colortext); 
}
.page-link{
    color: var(--colortext); 
}

.mensagem-erro-cabecalho{
    color: red;
}
.required:after {
    content:" *"; 
    color: red;
}



p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}


a:link, a:visited {
	text-decoration: none;
    color: var(--colorbasic);
}

a.menulink:link, a.menulink:visited{
    text-decoration: none;
    color: #ffffff;
}




.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    position:absolute;
    margin-top: 10px;
    border-top: 3px solid;
    border-bottom: 3px solid;
    border-color: #f4d85d;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    width: 100%;
    align-items: stretch;
}



a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: var(--colorbasic2);
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

hr { background-color: red; height: 1px; border: 0; }
a.download {
    background: var(--colortext);
    color: var(--colorbasic2);
}

a.sairmenu {
    background: linear-gradient(135deg, #f4d85d 0%, #f0c040 100%);
    color: #2c3e50;
    font-weight: 600;
    transition: all 0.3s ease;
}
button.sairmenu{
    background: linear-gradient(135deg, #f4d85d 0%, #f0c040 100%);
    color: #2c3e50;
    width: 100%;
}

.sairmenubtn{
    padding: 10px;
    margin-bottom: 50px;
}

a.sairmenu:hover {
    background: linear-gradient(135deg, #f0c040 0%, #e5b030 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 216, 93, 0.4);
    color: #1a252f;
}

.sairmenubtn{
    padding: 10px;
    margin-bottom: 50px;
}  

ul.sairmenubtn  {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 12px;
    padding: 12px;
}

a.article,
a.article:hover {
    background: var(--colorbasic) !important;
    color: var(--colortext) !important;
}

.menuicone{
   margin-top: 25px;
   color: #429C9C;
   transition: all 0.3s ease;
}
.menuiconebutton{
    margin-top: 5px;
 }

.menuprincipal{
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    margin-bottom: 5px;
    padding: 10px 10px !important;
    transition: all 0.3s ease;
    min-height: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.menuprincipal2{
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    margin-bottom: 25px;
    padding: 32px 20px !important;
    transition: all 0.3s ease;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


a.menucardicones:link, a.menucardicones:visited{
    text-decoration: none;
    color: #2c3e50;
}

.menucard a:hover .menuprincipal {
    background: linear-gradient(135deg, #429C9C 0%, #368080 100%) !important;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(66, 156, 156, 0.3) !important;
}

.menucard a:hover .menuprincipal2{
    background: linear-gradient(135deg, #429C9C 0%, #368080 100%) !important;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(66, 156, 156, 0.3) !important;
}

.menucard a:hover .menuicone {
    color: #ffffff;
    transform: scale(1.1);
}

.menucard a:hover .card-title {
    color: #ffffff !important;
}

.menuprincipal .card-body {
    padding: 0;
    margin-top: 16px;
}

.menuprincipal2 .card-body {
    padding: 0;
    margin-top: 16px;
}

.menuprincipal .card-title {
    font-weight: 600;
    font-size: 14px;
    color: #2c3e50;
    margin: 0;
    transition: all 0.3s ease;
}

.menuprincipal2 .card-title {
    font-weight: 600;
    font-size: 20px;
    color: #2c3e50;
    margin: 0;
    transition: all 0.3s ease;
}

table.table td a.view {
    color: #03A9F4;
}
table.table td a.edit {
    color: #FFC107;
}
table.table td a.delete {
    color: #E34724;
}
table.table td a.student {
    color: #1ba06d;
}

/*tabela de notas*/
.min-width-table{
    min-width: 600px;
}
.min-width-table-celular{
    min-width: 100px;
    padding-right: 100px;
}
.min-width-td{
    min-width: 80px;
}
.min-width-td-2{
    min-width: 85px;
}
.min-width-td-lg{
    min-width: 300px;
}
.min-width-td-md{
    min-width: 200px;
}

.sticky-col {
    position: -webkit-sticky;
    position: sticky;
    background-color: white;
}
  
.first-col {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
    left: 0px;
}

.first-col-tab {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
    left: 0px;
}
  
.second-col {
    width: 250px;
    min-width: 250px;
    max-width: 250px;
    left: 150px;
}

/*remove number arrows/spinners
/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}
  /* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
}

/*imagem no password*/
.field-icon {
  float: right;
  margin-right: 5px;
  margin-top: -25px;
  position: relative;
  z-index: 2;
}

.main-footer {
    background: linear-gradient(135deg, #429C9C 0%, #368080 100%);
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(66, 156, 156, 0.2);
    padding: 2px;
    margin-bottom: 32px;
}

.footer-title {
    font-size: 24px;
    font-weight: 700;
    margin-right: 5px;
    color: #ffffff;
    letter-spacing: 1px;
}

.card-suporte{
    height: 400px;
    margin-bottom: 20px;
}
.card-video{
    min-width: 100%;
    height: 300px;
}
.video-frame{
    min-width: 100%;
    height: 300px;
}

.calendar-heading{
    font-weight: bold;
}

.calendar-heading a{
    font-weight: bold;
    font-size: xx-large;
}

.table-professor {
    min-width: 600px; /* Defina o tamanho mínimo desejado em pixels, por exemplo */
  }

.table-striped tr{
    min-width: 200px;
}
.simple-calendar table{
    min-width: 600px;
}

.container-fluid{
    min-width: 330px;
}

a.btn-danger:link,
a.btn-danger:visited {
  color: #fff !important;
}

.break-word {
    white-space: normal; /* permite quebrar linha */
    word-break: break-word; /* quebra no meio se a palavra for enorme */
    text-align: center; /* opcional: para o texto ficar centralizado */
}
  


/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */


@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }
    #sidebar.active {
        margin-left: 0;
    }
    #sidebarCollapse span {
        display: none;
    }
}

@media (max-width: 668px) {
    #sidebar {
        margin-left: -250px;
    }
    #sidebar.active {
        margin-left: 0;
    }
    #sidebarCollapse span {
        display: none;
    }
    .simple-calendar table{
        min-width: 500px;
        font-size: 10px;
    }
    
}





.simple-calendar {    
    .has-events {
        background-color: #03A9F4;
    }

    
  }

/* ===================================================
   LOGIN & HOME PAGE STYLES
=================================================== */

.login-page-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #297a7b 0%, #1a5252 50%, #0d3636 100%);
    padding: 20px;
}

.login-hero {
    text-align: center;
    width: 100%;
    max-width: 700px;
}

.login-hero-content h1 {
    font-size: 3em;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.login-subtitle {
    font-size: 1.2em;
    color: rgba(255,255,255,0.8) !important;
    margin-bottom: 40px;
}

.login-choose-box {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    margin-top: 20px;
}

.login-choose-box h3 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 30px;
    font-size: 1.3em;
}

.login-choose-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.login-choose-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 40px;
    min-width: 220px;
    text-decoration: none !important;
    color: #2c3e50 !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.login-choose-btn:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

.login-choose-btn i {
    font-size: 2.5em;
    margin-bottom: 12px;
    color: #429C9C;
}

.login-choose-btn span {
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 6px;
}

.login-choose-btn small {
    font-size: 0.85em;
    color: #888;
}

.login-choose-admin:hover {
    background: linear-gradient(135deg, #429C9C 0%, #368080 100%);
}
.login-choose-admin:hover i,
.login-choose-admin:hover span,
.login-choose-admin:hover small {
    color: #ffffff !important;
}

.login-choose-membro:hover {
    background: linear-gradient(135deg, #f4d85d 0%, #f0c040 100%);
}
.login-choose-membro:hover i,
.login-choose-membro:hover span {
    color: #2c3e50 !important;
}
.login-choose-membro:hover small {
    color: #555 !important;
}

.login-logo-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #429C9C 0%, #368080 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 6px 20px rgba(66, 156, 156, 0.4);
}

.login-logo-circle i {
    font-size: 2em;
    color: #ffffff;
}

.login-logo-membro {
    background: linear-gradient(135deg, #f4d85d 0%, #f0c040 100%);
    box-shadow: 0 6px 20px rgba(244, 216, 93, 0.4);
}

.login-logo-membro i {
    color: #2c3e50;
}

.login-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    padding: 40px 36px;
    width: 100%;
    max-width: 420px;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-card-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-card-header h2 {
    font-size: 1.6em;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 6px;
}

.login-card-header p {
    font-size: 0.95em;
    color: #999;
    margin: 0;
}

.login-field {
    margin-bottom: 20px;
}

.login-field label {
    display: block;
    font-size: 0.9em;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}

.login-field label i {
    margin-right: 6px;
    color: #429C9C;
}

.login-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    font-size: 1em;
    font-family: 'Poppins', sans-serif;
    color: #2c3e50;
    background: #fafafa;
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
}

.login-input:focus {
    border-color: #429C9C;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(66, 156, 156, 0.12);
}

.login-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.login-remember label {
    font-size: 0.9em;
    color: #777;
    cursor: pointer;
    margin: 0;
}

.login-actions {
    margin-top: 10px;
}

.login-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #429C9C 0%, #368080 100%);
    color: #ffffff;
    font-size: 1.1em;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(66, 156, 156, 0.35);
    transition: all 0.3s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(66, 156, 156, 0.5);
    background: linear-gradient(135deg, #368080 0%, #2d6b6b 100%);
}

.login-btn-membro {
    background: linear-gradient(135deg, #f4d85d 0%, #f0c040 100%);
    color: #2c3e50;
    box-shadow: 0 6px 20px rgba(244, 216, 93, 0.35);
}

.login-btn-membro:hover {
    background: linear-gradient(135deg, #f0c040 0%, #e5b030 100%);
    box-shadow: 0 8px 28px rgba(244, 216, 93, 0.5);
    color: #1a252f;
}

.login-links {
    text-align: center;
    margin-top: 24px;
}

.login-links p {
    margin: 8px 0;
    font-size: 0.9em;
}

.login-links a {
    color: #429C9C !important;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.login-links a:hover {
    color: #2d6b6b !important;
    text-decoration: underline;
}

.login-switch {
    margin-top: 16px !important;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

/* ===== SEARCH CARD ===== */
.search-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(66,156,156,0.10);
    background: #ffffff;
    margin-bottom: 18px;
}
.search-card .card-body {
    padding: 18px 22px 12px;
}
.search-label {
    font-size: 0.82em;
    font-weight: 600;
    color: #429C9C;
    margin-bottom: 4px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.search-form .form-control {
    border-radius: 8px;
    border: 1.5px solid #e0e0e0;
    font-size: 0.92em;
    padding: 8px 12px;
    transition: border-color 0.3s;
}
.search-form .form-control:focus {
    border-color: #429C9C;
    box-shadow: 0 0 0 2px rgba(66,156,156,0.13);
}

/* ===== SHOW CARD ===== */
.show-card {
    border: none;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(66,156,156,0.10);
    background: #ffffff;
    margin-bottom: 18px;
}
.show-card .card-body {
    padding: 28px 30px;
}
.show-field {
    margin-bottom: 18px;
}
.show-label {
    font-size: 0.78em;
    font-weight: 700;
    color: #429C9C;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 3px;
    display: block;
}
.show-value {
    font-size: 1.05em;
    color: #333;
    margin: 0;
    padding: 4px 0;
    font-weight: 500;
}

/* ===== FORM CARD ===== */
.form-card {
    border: none;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(66,156,156,0.10);
    background: #ffffff;
    margin-bottom: 18px;
}
.form-card .card-body {
    padding: 28px 30px;
}
.form-card .form-label {
    font-size: 0.85em;
    font-weight: 600;
    color: #555;
    margin-bottom: 5px;
}
.form-card .form-label.required::after {
    content: " *";
    color: #e53935;
    font-weight: 700;
}
.form-card .form-control {
    border-radius: 8px;
    border: 1.5px solid #e0e0e0;
    font-size: 0.95em;
    padding: 10px 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-card .form-control:focus {
    border-color: #429C9C;
    box-shadow: 0 0 0 3px rgba(66,156,156,0.13);
}
.form-actions {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    gap: 10px;
    align-items: center;
}

/* ===== CUSTOM TABLE ===== */
.custom-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(66,156,156,0.07);
}
.custom-table thead {
    background: linear-gradient(135deg, #429C9C 0%, #368080 100%);
}
.custom-table thead th {
    color: #fff;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 14px;
    border: none;
}
.custom-table tbody td {
    padding: 10px 14px;
    font-size: 0.92em;
    color: #444;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
}
.custom-table tbody tr:last-child td {
    border-bottom: none;
}
.custom-table tbody tr:hover {
    background: rgba(66,156,156,0.05);
}

/* ===== ACTION LINKS ===== */
.action-links {
    white-space: nowrap;
}
.action-links .btn {
    margin: 0 2px;
    padding: 4px 10px;
    font-size: 0.82em;
    border-radius: 6px;
}

/* ===== PAGINATION BAR ===== */
.pagination-bar {
    background: #fff;
    border-radius: 10px;
    padding: 12px 18px;
    box-shadow: 0 1px 6px rgba(66,156,156,0.07);
    margin-bottom: 20px;
}
.pagination-bar .text-muted {
    font-size: 0.88em;
}
.pagination-bar .pagination {
    margin: 0;
}
.pagination-bar .pagination .page-link {
    color: #429C9C;
    border-radius: 6px;
    margin: 0 2px;
    border: 1px solid #e0e0e0;
    font-size: 0.88em;
    padding: 5px 11px;
}
.pagination-bar .pagination .page-item.active .page-link {
    background: #429C9C;
    border-color: #429C9C;
    color: #fff;
}
.pagination-bar .pagination .page-link:hover {
    background: rgba(66,156,156,0.1);
}

/* ===== SHOW ACTIONS ===== */
.show-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

/* ===== CHAT WIDGET ===== */
#chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    font-family: 'Poppins', sans-serif;
}
#chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #429C9C 0%, #368080 100%);
    border: none;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(66,156,156,0.35);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
#chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(66,156,156,0.5);
}
/* Painel lateral full-height */
#chat-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 24px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    z-index: 10000;
    animation: chatSlideIn 0.3s ease;
}
@keyframes chatSlideIn {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
}
#chat-header {
    background: linear-gradient(135deg, #429C9C 0%, #368080 100%);
    color: #fff;
    padding: 18px 22px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}
#chat-header i {
    margin-right: 8px;
}
#chat-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: opacity 0.2s;
}
#chat-close:hover {
    opacity: 0.7;
}
#chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f7fafa;
}
.chat-msg {
    margin-bottom: 14px;
    display: flex;
}
.chat-msg.bot {
    justify-content: flex-start;
}
.chat-msg.user {
    justify-content: flex-end;
}
.chat-bubble {
    max-width: 88%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
    white-space: pre-wrap;
}
.chat-msg.bot .chat-bubble {
    background: #e8f5f5;
    color: #2c3e50;
    border-bottom-left-radius: 4px;
}
.chat-msg.user .chat-bubble {
    background: #429C9C;
    color: #fff;
    border-bottom-right-radius: 4px;
}
#chat-input-area {
    display: flex;
    border-top: 1px solid #e0e0e0;
    padding: 14px 16px;
    background: #fff;
    flex-shrink: 0;
}
#chat-input {
    flex: 1;
    border: 1.5px solid #e0e0e0;
    border-radius: 22px;
    padding: 10px 18px;
    font-size: 14px;
    outline: none;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.2s;
}
#chat-input:focus {
    border-color: #429C9C;
}
#chat-send {
    background: #429C9C;
    border: none;
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    margin-left: 10px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
#chat-send:hover {
    background: #368080;
}
/* Overlay escuro atrás do painel */
#chat-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 9998;
    animation: chatFadeIn 0.25s ease;
}
@keyframes chatFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@media (max-width: 480px) {
    #chat-panel {
        width: 100vw;
    }
}
