:root {
    --brand-primary: #3b82f6; /* títulos e botões */
    --brand-dark: #f5f5f5; /* fundo principal */
    --brand-surface: #c9c9c9; /* fundo de cards e menus */
    --brand-accent: #60a5fa; /* hover de botões e links */
    --text-high: dark; /* texto principal */
    --text-low: #94a3b8; /* texto secundário */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* transições suaves para hover e foco */
} 


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--brand-dark);
    color: var(--text-high);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

main, section {
    max-width: 1200px;
    margin: 2rem auto;
} 

.login-main {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0 !important;
}

h1 {
    color: var(--brand-primary) !important;
    margin-bottom: 1rem;
}


input, select, textarea {
    background-color: var(--brand-surface);
    color: var(--text-high);
    border: none;
    padding: 0.75rem 1rem;
    margin-bottom: 10px !important;
    border-radius: 10px;
    transition: var(--transition);
    width: 100%;
} input:focus, select:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--brand-primary);
} button {
    color: var(--text-high);
    border: none;
    transition: var(--transition);
    background-color: transparent;
    padding: 0.75rem 1rem;
} 
button:hover {
    background-color: var(--brand-accent);
    color: var(--text-high);
    border-radius: 0.375rem !important;
} .button-cancelar {
    background-color: rgb(192, 35, 35);
    color: var(--text-high);
    border-radius: 10px;
} .button-cancelar:hover {
    color: var(--brand-primary);
} .botao-salvar {
    background-color: var(--brand-primary);
    color: var(--text-high);
    border-radius: 10px;
} .botao-salvar:hover {
    background-color: var(--brand-accent);
}

/* ----------------------- Top Menu Styles ----------------------- */
.top-menu {
    background-color: var(--brand-surface);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-menu h1 {
    font-size: 1.5rem;
    color: var(--brand-primary);
}

.top-menu span {
    font-size: 1.2rem;
    color: var(--text-low);
}

.menu-item {
    display: inline;
    margin-left: 1.5rem;
    transition: var(--transition);
} .menu-item:hover {
    color: var(--brand-primary);
} .menu-item a {
    color: inherit;
    text-decoration: none;
} 

/* ----------------------- Table Styles ----------------------- */
table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--brand-surface);
    border-collapse: collapse;
    border-color: var(--brand-secondary);
    border-radius: 10px; overflow: hidden;
}

thead {
    border-bottom: 2px solid var(--brand-secondary);
    color: white;    
} th{
    background-color: var(--brand-surface);
    color: var(--brand-primary);
    padding: 0.75rem;
    text-align: center;
}

td {
    text-align: left;
    padding: 0.75rem;
} tr:nth-child(even) {
    background-color: var(--brand-dark);
} tr:hover {
    background-color: var(--brand-surface);
} a {
    color: inherit;
    text-decoration: none;
}   

/* ----------------------- Dashboard Styles ----------------------- */


/* ----------------------- Clientes Styles ----------------------- */


/* ----------------------- Editar Cliente Styles ----------------------- */


/* ----------------------- Chamados Styles ----------------------- */


/* ----------------------- Login page Styles ----------------------- */

.login-page .error-message {
    color: rgb(192, 35, 35);
    margin-bottom: 1rem;
    text-align: center;
}

.login-container {
    text-align: center;
    width: 350px;
    margin: 100px auto;
    padding: 2rem;
}

/* ----------------------- Register page Styles ----------------------- */
.register-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
} .register-page h1 {
    text-align: center;
    color: var(--brand-primary);
    margin-bottom: 1rem;
} .register-page form {
    width: 400px;
    padding: 2rem;
    border-radius: 0.375rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
} .register-page input {
    width: 100%;
    margin-bottom: 1rem;
} .register-page button {
    width: 100%;
} .register-page button:hover {
    background-color: var(--brand-accent);
}   .register-page a {
    color: var(--text-low);
    text-decoration: none;
} .register-page a:hover {
    color: var(--brand-primary);
} .register-page .error-message {
    color: rgb(192, 35, 35);
    margin-bottom: 1rem;
    text-align: center;
} .register-page p {
    margin-top: 1rem;
    text-align: center;
}

.coluna-acoes {
    text-align: right !important; /* Força o alinhamento à direita */
    padding-right: 15px;         /* Ajuste esse valor conforme desejar a proximidade da borda */
    white-space: nowrap;         /* Garante que os botões fiquem sempre na mesma linha */
}

/* Caso queira que os botões fiquem mais próximos um do outro ao alinhar à direita */
.coluna-acoes button {
    margin-left: 5px;
}

.paginacao a {
    border-radius: 8px;
}


/* ----------------------- Footer Styles ----------------------- */



/* ----------------------- Responsive Styles ----------------------- */


@media screen and (max-width: 768px) {
    .top-menu {
        display: none;
    }

    .side-menu {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        height: 100px;
        width: 100%;
        flex-direction: row;
        background-color: var(--brand-dark);
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
        border: 1px solid var(--brand-surface);
        z-index: 1000;
        justify-content: space-around;
        align-items: center;
    } .side-menu ul {
        list-style: none;
        width: 100vw;
        display: flex;
        justify-content: space-evenly;
    } .side-menu li {
        display: inline;
    }

    .menu-item img {
        width: 36px;
        height: 36px;
    }
    table {
        font-size: 0.9rem;
    }


    section, main {
        margin: 1rem;
    }

    .register-page form {
        width: 100%;
    }
    
    .listagem-clientes table {
        border: none;
    } .listagem-solicitantes table {
        border: none;
    } .lista-de-chamados table {
        border: none;
    }

    .col-hide-mobile {
        display: none;
    }

    thead {
        display: none;
    }

    input {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem !important;
    }

    tbody tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid var(--brand-surface);
        border-radius: 8px;
        padding: 0.75rem;
    } tbody tr td {
        display: block;
        position: relative;
    } tbody tr td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        top: 0;
        padding-left: 0.75rem;
        font-weight: bold;
        text-transform: uppercase;
    }
}