/* ---------------------------------------------------------
   TEMA TECHSOLUTION BRASIL – STYLE.CSS REMODELADO
   Layout leve, moderno, corporativo e consistente
   --------------------------------------------------------- */

/* ------------------------ */
/*   CONFIGURAÇÃO GLOBAL    */
/* ------------------------ */
body {
    background: #f5f5f5;
    margin: 0;
    padding: 0;
    font-family: "Open Sans", Arial, sans-serif;
    color: #0d0810;
}

/* Container padrão */
.content {
    width: 90%;
    margin: 0 auto;
}

/* Links */
i{
	font-size: 32px;
}
.btn {
    padding: 8px 16px;
    cursor: pointer;
    background: #007cff;
    text-decoration: none;
    font-weight:bold;
    font-size: 14px;
    color: #fff;
    border-radius:18px;
    transition:0.3s; 
	text-decoration: none;
}
button.primary{
    background: #888;
    color: #fff;
    padding: 10px 18px 10px 18px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: 0.2s;
	text-decoration: none;
}
button.primary:hover {
    background: #0056b3;
}
button.secondary{
    background: #007BFF;
    color: #ffffff;
    padding: 10px 18px 10px 18px;
    border-radius: 6px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
	text-decoration: none;
}
button.secondary:hover {
    background-color: #0056b3; /* azul mais escuro no hover */
}

a.secondary {
    display: inline-block;
    padding: 8px 12px;
    background: #888;
    color: #fff;
    padding: 10px 18px 10px 18px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: 0.2s;
	text-decoration: none;
}

a.secondary:hover {
    background-color: #0056b3; /* azul mais escuro no hover */
}

a.secondary i {
    margin-right: 6px;
}


a.primary {
    display: inline-block;
	background: #007BFF;
    color: #ffffff;
    padding: 10px 18px 10px 18px;
    border-radius: 6px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
	text-decoration: none;
}

a.primary:hover {
    background-color: #0056b3; /* azul mais escuro no hover */
}

a.primary i {
    margin-right: 6px;
}

a{
	text-decoration: none;
}
a:hover {
    background: #007BFF;
    color: #ffffff;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
	text-decoration: none;
}
/* ------------------------ */
/*         HEADER           */
/* ------------------------ */
.main_header {
    background: #ffffff;
    border-bottom: 3px solid #007BFF;
    padding: 1em 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.main_header_logo {
    text-align: center;
}
.main_header_logo img {
    height:100px;
    width: auto;
}

}
/* ------------------------ */
/* FORMULÁRIOS E INPUTS     */
/* ------------------------ */
input[type="text"],
input[type="password"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 15px;
    transition: 0.2s;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #007BFF;
    outline: none;
}

/* Botões de submit */
input[type="submit"] {
    background: #007BFF;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px;
    cursor: pointer;
    transition: 0.2s;
}
input[type="submit"]:hover {
    background: #0056b3;
}

/* ------------------------ */
/*   FORMS ESPECIAIS        */
/* ------------------------ */
.formulario-login,
.formulario-epi,
.form-tabela {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0,0,0,0.08);
    margin: 25px auto;
}

.formulario-login { max-width: 380px; }
.formulario-epi { max-width: 780px; }
.form-tabela { max-width: 1100px; }

.formulario-login h2,
.formulario-epi h2,
.form-tabela h3 {
    color: #007BFF;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
}

/* ------------------------ */
/*         TABELAS          */
/* ------------------------ */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

table th {
    background: #007BFF;
    color: white;
    padding: 12px;
    text-align: left;
    font-size: 14px;
}

table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

table tr:nth-child(even) {
    background: #f8f8f8;
}

table tr:hover {
    background: #e8f0ff;
}

/* Rodapé das tabelas */
.row-total {
    background: #dfe6f1 !important;
    font-weight: bold;
}

/* ------------------------ */
/*       FLEX / CARDS       */
/* ------------------------ */
.flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.flex-container > div {
    background: white;
    border-radius: 6px;
    padding: 15px;
    flex: 1;
    min-width: 250px;
    box-shadow: 0 0 8px rgba(0,0,0,0.05);
    transition: 0.2s;
}

.flex-container > div:hover {
	background: #007BFF;
	color: #ffffff;
	border: none;
	font-weight: bold;
	cursor: pointer;
	transition: 0.2s;
}

/* ------------------------ */
/*          ALERTAS         */
/* ------------------------ */
.alert-success {
    background: #d4edda;
    color: #155724;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
}

/* ------------------------ */
/*          FOOTER          */
/* ------------------------ */
.main_footer {
    background: #ffffff;
    border-top: 3px solid #007BFF;
    padding: 20px 0;
    margin-top: 50px;
}

.main_footer p {
    text-align: center;
    color: #007BFF;
    font-weight: 600;
}

/* ------------------------ */
/*       RESPONSIVIDADE     */
/* ------------------------ */
@media (max-width: 768px) {
    .content { width: 95%; }
    .form-tabela, .formulario-epi { padding: 15px; }
}

@media (max-width: 480px) {
    .main_header_logo img { height: 55px; }
    button.primary, a.primary, input[type="submit"] { width: 100%; }
}