/* Begin Template css */

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    color: #051E34;
}

header,
footer {
    background: #051E34;
    color: #ffffff;
    padding: 20px;
    text-align: center;
}

header {
    position: relative;
}

#hamburger {
    display: none;
}

.container {
    display: flex;
    min-height: 80vh;
}

.side-menu {
    background: #00B3E6;
    width: 250px;
    padding: 15px;
}

.side-menu ul {
    list-style: none;
    padding: 0;
}

.side-menu ul li {
    min-height: 30px;
    color: #ffffff;
}

.side-menu ul li a {
    display: block;
    color: inherit;
    width: 100%;
    height: 100%;
    text-decoration: none;
    font-weight: bold;
    min-height: 30px;
    padding-top: 10px;
    padding-left: 10px;
}

.side-menu ul li a:hover,
.side-menu ul li.active a {
    color: #051E34;
    background: #F5F5F5;
    border-radius: 5px;
}

main {
    flex: 1;
    padding: 20px;
    background: #ffffff;
}

main h2 {
    color: #051E34;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .side-menu {
        position: fixed;
        top: 0;
        left: -300px;
        width: 250px;
        height: 100vh;
        background: #00B3E6;
        color: #ffffff;
        padding: 20px;
        transition: left 0.3s ease;
        z-index: 1000;
    }

    .side-menu.open {
        left: 0;
    }

    #hamburger {
        display: block;
        position: absolute;
        top: 40px;
        right: 20px;
        left: auto;
        font-size: 24px;
        border: none;
        cursor: pointer;
        z-index: 1001;
        background: #051E34;
        color: #ffffff;
    }


    .container {
        flex-direction: column;
    }
}

/* End Template css */





/* Begin Page Basic elements */

.hr-initial {
    margin-top: -7px;
    margin-bottom: 30px;
}

/* End Page Basic elements */



/* Begin Table css */

.table {
    width: 80%;
    margin: 0 auto 40px auto;
    border-collapse: collapse;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: 8px;
}

.table thead {
    background-color: #2980b9;
    color: white;
}

.table th,
.table td {
    padding: 12px 20px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.table tbody tr:hover {
    background-color: #f1f9ff;
}

/* End Table css */



/* Begin Tooltip css */
/* Container for the icon and tooltip */
.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

/* Tooltip text - hidden by default */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 140px;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 6px 10px;
    border-radius: 6px;

    /* Positioning */
    position: absolute;
    z-index: 1000;

    /* Fade effect */
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    /* Avoid blocking mouse */
}

/* Show tooltip on hover */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

/* Arrow styling */
.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    border-style: solid;
}

/* Tooltip on top */
.tooltip.top .tooltiptext {
    bottom: 125%;
    /* place above */
    left: 50%;
    transform: translateX(-50%);
}

.tooltip.top .tooltiptext::after {
    top: 100%;
    /* arrow below tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px 5px 0 5px;
    border-color: #333 transparent transparent transparent;
}

/* Tooltip on bottom */
.tooltip.bottom .tooltiptext {
    top: 125%;
    /* place below */
    left: 50%;
    transform: translateX(-50%);
}

.tooltip.bottom .tooltiptext::after {
    bottom: 100%;
    /* arrow above tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 0 5px 5px 5px;
    border-color: transparent transparent #333 transparent;
}

/* Tooltip on left */
.tooltip.left .tooltiptext {
    top: 50%;
    right: 125%;
    /* place left */
    transform: translateY(-50%);
}

.tooltip.left .tooltiptext::after {
    top: 50%;
    left: 100%;
    /* arrow on right side */
    margin-top: -5px;
    border-width: 5px 0 5px 5px;
    border-color: transparent transparent transparent #333;
}

/* Tooltip on right */
.tooltip.right .tooltiptext {
    top: 50%;
    left: 125%;
    /* place right */
    transform: translateY(-50%);
}

.tooltip.right .tooltiptext::after {
    top: 50%;
    right: 100%;
    /* arrow on left side */
    margin-top: -5px;
    border-width: 5px 5px 5px 0;
    border-color: transparent #333 transparent transparent;
}

/* Style the <i> icon */
.tooltip i {
    font-style: normal;
    /* or use font-awesome or other icon fonts */
    background: #2980b9;
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    user-select: none;
}

/* Example of use
<p>
  Passe o mouse sobre os ícones para ver o tooltip:
</p>

<div>
  <span class="tooltip top">
    <i>?</i>
    <span class="tooltiptext">Texto do tooltip em cima</span>
  </span>

  <span class="tooltip right" style="margin-left: 40px;">
    <i>?</i>
    <span class="tooltiptext">Texto do tooltip à direita</span>
  </span>

  <span class="tooltip bottom" style="margin-left: 40px;">
    <i>?</i>
    <span class="tooltiptext">Texto do tooltip embaixo</span>
  </span>

  <span class="tooltip left" style="margin-left: 40px;">
    <i>?</i>
    <span class="tooltiptext">Texto do tooltip à esquerda</span>
  </span>
</div>
*/

/* End Tooltip css */




/* Begin Form css */
.msg-error {
    color: #FFBFB7;
}

.msg-success {
    color: #DFF3E4;
}

.input-error {
    border: 1px solid #FFBFB7;
}

.form-label {
    display: block;
}

.form-line {
    margin-bottom: 15px;
}

.form-text {
    padding: 5px;
}

/* End Form css */





/* Begin text css */
.text-start {
  text-align: left !important;
}

.text-center {
  text-align: center !important;
}

.text-end {
  text-align: right !important;
}

/* Text wrapping and truncation */
.text-wrap {
  white-space: normal !important;
}

.text-nowrap {
  white-space: nowrap !important;
}

.text-truncate {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* Text transform */
.text-lowercase {
  text-transform: lowercase !important;
}

.text-uppercase {
  text-transform: uppercase !important;
}

.text-capitalize {
  text-transform: capitalize !important;
}
/* End text css */




/* Begin General css */

.dn {
    display: none;
}

.active {
    color: #27ae60;
    font-weight: bold;
}

.inactive {
    color: #c0392b;
    font-style: italic;
}

/* Status badge */
.status-badge {
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 0.9em;
    font-weight: 600;
    color: white;
    display: inline-block;
    text-align: center;
    min-width: 70px;
}

.status-active {
    background-color: #27ae60;
}

.status-inactive {
    background-color: #c0392b;
}

/* End General css */