@font-face {
    font-family: 'Poppins-Black';
    src: url('../fonts/poppins/Poppins-Black.ttf');
}
@font-face {
    font-family: 'Poppins-BlackItalic';
    src: url('../fonts/poppins/Poppins-BlackItalic.ttf');
}
@font-face {
    font-family: 'Poppins-Bold';
    src: url('../fonts/poppins/Poppins-Bold.ttf');
}
@font-face {
    font-family: 'Poppins-BoldItalic';
    src: url('../fonts/poppins/Poppins-BoldItalic.ttf');
}
@font-face {
    font-family: 'Poppins-ExtraBold';
    src: url('../fonts/poppins/Poppins-ExtraBold.ttf');
}
@font-face {
    font-family: 'Poppins-ExtraBoldItalic';
    src: url('../fonts/poppins/Poppins-ExtraBoldItalic.ttf');
}
@font-face {
    font-family: 'Poppins-ExtraLight';
    src: url('../fonts/poppins/Poppins-ExtraLight.ttf');
}
@font-face {
    font-family: 'Poppins-ExtraLightItalic';
    src: url('../fonts/poppins/Poppins-ExtraLightItalic.ttf');
}
@font-face {
    font-family: 'Poppins-Italic';
    src: url('../fonts/poppins/Poppins-Italic.ttf');
}
@font-face {
    font-family: 'Poppins-Light';
    src: url('../fonts/poppins/Poppins-Light.ttf');
}
@font-face {
    font-family: 'Poppins-LightItalic';
    src: url('../fonts/poppins/Poppins-LightItalic.ttf');
}
@font-face {
    font-family: 'Poppins-Medium';
    src: url('../fonts/poppins/Poppins-Medium.ttf');
}
@font-face {
    font-family: 'Poppins-MediumItalic';
    src: url('../fonts/poppins/Poppins-MediumItalic.ttf');
}
@font-face {
    font-family: 'Poppins-Regular';
    src: url('../fonts/poppins/Poppins-Regular.ttf');
}
@font-face {
    font-family: 'Poppins-SemiBold';
    src: url('../fonts/poppins/Poppins-SemiBold.ttf');
}
@font-face {
    font-family: 'Poppins-SemiBoldItalic';
    src: url('../fonts/poppins/Poppins-SemiBoldItalic.ttf');
}
@font-face {
    font-family: 'Poppins-Thin';
    src: url('../fonts/poppins/Poppins-Thin.ttf');
}
@font-face {
    font-family: 'Poppins-ThinItalic';
    src: url('../fonts/poppins/Poppins-ThinItalic.tt');
}

:root {
    --primary-white: rgb(235, 235, 235);
    --primary-emphasi: #F2613F;
    --primary-emphasi-dark: #aa2608;
    --dark: #0C0C0C;
    --green: #07580b;
}

header {
    background-color: var(--primary-emphasi) !important;
}

html, body {
    height: 100%;
}

body {
    background: #0C0C0C;
    color: var(--primary-white);
    font-family: 'Poppins-Regular';

    display: flex;
    flex-direction: column;
}

.content {
    flex: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins-Bold';
}

a {
    color: var(--primary-white);
    width: fit-content;
}

table {
    margin: 0 auto;
}

hr {
    border-top: 1px solid var(--primary-white);
}

/* menu */

.soft-header {
    background: #f8f9fa;
    border-radius: 20px;
    margin: 15px;
    padding: 5px 10px;
}

.soft-header .navbar {
    padding: 10px;
}

.navbar-brand {
    font-size: 1.3rem;
}

.nav-link {
    border-radius: 12px;
    padding: 8px 12px !important;
    transition: 0.2s;
}

.nav-link:hover {
    background: #e9ecef;
}

.nav-link.active {
    background: #152331;
    color: white !important;
}

.dropdown-menu {
    border-radius: 15px;
    padding: 10px;
}

.dropdown-item {
    border-radius: 10px;
    padding: 8px 12px;
}

.dropdown-item:hover {
    background: #f1f3f5;
}

.btn-primary {
    border-radius: 999px;
}

/* end menu */

/* form */

form {
    background-color: var(--primary-emphasi) !important;
    margin: 0px auto;
    width: 50%;
}

.div-input {
    margin: 5px 0px;
    position: relative;
}

.div-input label {
    position: absolute;
    left: 15px;
    top: 8px;
    pointer-events: none;
    transition: .2s;
}

.div-input input,
.div-input textarea,
.div-input select {
    background: none;
    border: 1px solid black;
}

.div-input input:focus,
.div-input textarea:focus,
.div-input select:focus {
    background: none;
    border: 1px solid black;
    box-shadow: none !important;
    outline: none !important;
}

.div-input input:focus ~ label,
.div-input input:not(:placeholder-shown) ~ label,
.div-input textarea:focus ~ label,
.div-input textarea:not(:placeholder-shown) ~ label,
.div-input select:focus ~ label,
.label-active {
    font-size: .9em !important;
    transform: translateY(-26px) !important;
    transition: .2s;
}

.div-input option {
    background-color: var(--primary-emphasi-dark);
    color: white;
}

/* end form */

/* profile */

.profile {
    align-items: center;
    background-color: var(--primary-emphasi);
    border-radius: 15px;
    color: var(--dark);
    display: flex;
    flex-direction: column;
    padding: 20px;
    margin: 10px auto;
    width: 40%;
}

/* end profile */

/* alert */

#custom-alert {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.alert-hidden {
    display: none !important;
}

.alert-box {
    background: var(--dark);
    color: var(--primary-white);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    width: 320px;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
    border-top: 4px solid var(--primary-emphasi);
    animation: fadeIn 0.3s ease;
}

.alert-box h2 {
    margin-bottom: 10px;
}

.alert-box p {
    font-size: 14px;
    opacity: 0.8;
}

.alert-box button {
    margin-top: 15px;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    background: var(--primary-emphasi);
    color: white;
    cursor: pointer;
    transition: 0.2s;
}

.alert-box button:hover {
    opacity: 0.8;
}

.alert-icon {
    font-size: 30px;
    margin-bottom: 10px;
}

.success { color: var(--green); }
.error { color: red; }
.info { color: var(--primary-emphasi); }

@keyframes fadeIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* end alert */

/* commons */
.div-emphasis {
    background-color: var(--primary-emphasi);
    border-radius: 15px;
    color: var(--dark);
    padding: 20px;
    margin: 30px auto;
    width: 50%;
}

.div-emphasis p {
    line-height: 1.6;
}

.btn-emphasis {
    background-color: var(--primary-emphasi);
    color: var(--dark);
    font-weight: bold;
}

.btn-emphasis:hover {
    background-color: white;
    color: var(--dark);
    font-weight: bold;
}

.text-green {
    color: var(--green);
}

.btn-danger {
    background-color: #8b0000;
    border-color: #8b0000;
}

.btn-danger:hover {
    background-color: #8f2a2a;
    border-color: #8f2a2a;
}

.is-invalid {
    border-color: #c0c0c0 !important;
}

.my-text-emphasis {
    color: var(--primary-emphasi);
}

/* end commons */

/* my colors */
.emphasis-bg {
    background-color: var(--primary-emphasi);
}
/* end my colors */

/* stars rating */

.rating .star {
    font-size: 20px;
    color: #ccc;
    cursor: pointer;
    transition: 0.2s;
}

.empty-star {    
    color: #ccc;
}

.rating .star.hover,
.rating .star.selected {
    color: #ffc107;
}

/* end stars rating */

/* table */

.table-custom {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    font-family: 'Poppins-Regular';
}

.table-custom thead th {
    background: transparent;
    color: var(--primary-emphasi);
    border: none;
    font-family: 'Poppins-SemiBold';
    font-size: 0.9rem;
    text-transform: uppercase;
    padding: 10px;
}

.table-custom tbody tr {
    background: #1a1a1a;
    border-radius: 12px;
    transition: 0.2s;
}

.table-custom tbody tr:hover {
    transform: scale(1.01);
    background: #222;
}

.table-custom td {
    padding: 15px;
    vertical-align: middle;
    border: none;
    color: var(--primary-white);
}

.table-custom tbody tr td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.table-custom tbody tr td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.table-custom .highlight {
    color: var(--primary-emphasi);
    font-family: 'Poppins-SemiBold';
}

.badge-status {
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-family: 'Poppins-Medium';
}

.status-approved {
    background: rgba(7, 88, 11, 0.2);
    color: var(--green);
}

.status-pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.status-rejected {
    background: rgba(176, 42, 55, 0.2);
    color: #B02A37;
}

.table-custom .btn {
    border-radius: 999px;
    font-size: 0.8rem;
    padding: 5px 12px;
}

/* end table */

/* filter */
.filter-box {
    background-color: var(--primary-emphasi);
    display: flex;
    border-radius: 15px;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    padding: 10px 0px;
    width: 40%;
}

.select-custom {
    background: #f1f3f5;
    color: #333;
    border: none;
    border-radius: 999px;
    padding: 10px 15px;
    font-family: 'Poppins-Medium';
    font-size: 0.9rem;
    outline: none;
    cursor: pointer;
    transition: 0.2s;
    appearance: none;
    min-width: 240px;
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: "▼";
    font-size: 0.7rem;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #555;
}

.select-custom:hover {
    background: #e9ecef;
}

.select-custom:focus {
    box-shadow: 0 0 0 2px var(--primary-emphasi);
}

.input-search {
    background: #f1f3f5;
    border: none;
    border-radius: 999px;
    padding: 10px 15px;
    font-family: 'Poppins-Regular';
    font-size: 0.9rem;
    color: #333;
    outline: none;
    transition: 0.2s;
    width: 220px;
}

.input-search:focus {
    box-shadow: 0 0 0 2px var(--primary-emphasi);
}

.btn-search {
    background: var(--primary-white);
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    font-family: 'Poppins-SemiBold';
    color: black;
    transition: 0.2s;
}

.btn-search:hover {
    background: #c0c0c0;
}

.btn-filter {
    background: var(--primary-white);
    color: black;
    border-radius: 999px;
    padding: 8px 15px;
    font-family: 'Poppins-Medium';
    transition: 0.2s;
    border: none;
}

.btn-filter:hover {
    background: #c0c0c0;
    color: black !important;
}

.dropdown-filter {
    background: #1a1a1a;
    padding: 15px;
    border-radius: 15px;
    min-width: 260px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    border: 1px solid #2a2a2a;
}

.dropdown-filter form {
    background: none !important;
}

.dropdown-filter label {
    color: #c0c0c0;
    font-size: 0.75rem;
    opacity: 0.7;
    margin-bottom: 3px;
}

.dropdown-filter select {
    background: #2a2a2a;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 8px 10px;
    width: 100%;
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.dropdown-filter select:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary-emphasi);
}

.btn-apply {
    width: 100%;
    border-radius: 10px;
    padding: 8px;
    background: var(--primary-emphasi);
    border: none;
    font-family: 'Poppins-SemiBold';
}

.btn-apply:hover {
    background: var(--primary-emphasi-dark);
}

/* end filter */

/* buttons */

.btn-show-code {
    background-color: #0C0C0C;
    color: var(--primary-emphasi);
}

.btn-show-code:hover {
    background-color: #333333;
    color: var(--primary-emphasi);
}

/* end buttons */

/* paginate */

.paginate-custom {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.paginate-custom .pagination {
    display: flex;
    gap: 6px;
    background: #1a1a1a;
    padding: 8px 12px;
    border-radius: 999px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

.paginate-custom .page-item {
    list-style: none;
}

.paginate-custom .page-link {
    border: none;
    border-radius: 999px;
    padding: 8px 14px;
    font-family: 'Poppins-Medium';
    font-size: 0.85rem;
    background: transparent;
    color: var(--primary-white);
    transition: 0.2s;
}

/* hover */
.paginate-custom .page-link:hover {
    background: var(--primary-emphasi);
    color: var(--dark);
}

/* ativo */
.paginate-custom .page-item.active .page-link {
    background: var(--primary-emphasi);
    color: var(--dark);
    font-family: 'Poppins-SemiBold';
}

/* desabilitado */
.paginate-custom .page-item.disabled .page-link {
    opacity: 0.3;
    cursor: not-allowed;
}

/* setas */
.paginate-custom .page-link[rel="prev"],
.paginate-custom .page-link[rel="next"] {
    font-weight: bold;
}

/* mobile */
@media (max-width: 600px) {
    .paginate-custom .pagination {
        flex-wrap: wrap;
        border-radius: 15px;
        justify-content: center;
    }
}

/* end paginate */

/* cookie alert */

#cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark);
    color: var(--primary-white);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    z-index: 9999;
    width: 90%;
    max-width: 500px;
    text-align: center;
    border-top: 4px solid var(--primary-emphasi);
}

.cookie-hidden {
    display: none;
}

.cookie-box button {
    margin-top: 10px;
    padding: 8px 15px;
    border: none;
    border-radius: 999px;
    background: var(--primary-emphasi);
    color: white;
    cursor: pointer;
}

.cookie-box button:hover {
    opacity: 0.8;
}

/* end cookie alert */

/* footer */

.footer-custom {
    background: #1a1a1a;
    border-top: 3px solid var(--primary-emphasi);
    margin-top: 40px;
    padding: 30px 20px 10px;
    color: var(--primary-white);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.footer-brand h4 {
    font-family: 'Poppins-Bold';
    margin-bottom: 5px;
}

.footer-brand p {
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-links h5,
.footer-social h5 {
    font-family: 'Poppins-SemiBold';
    margin-bottom: 10px;
    color: var(--primary-emphasi);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 6px;
}

.footer-links a {
    color: var(--primary-white);
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.2s;
}

.footer-links a:hover {
    color: var(--primary-emphasi);
}

.footer-social .social-link {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--primary-emphasi);
    color: var(--dark);
    font-size: 0.85rem;
    text-decoration: none;
    transition: 0.2s;
}

.footer-social .social-link:hover {
    background: white;
    color: var(--dark);
}

.footer-bottom {
    text-align: center;
    margin-top: 25px;
    font-size: 0.75rem;
    opacity: 0.6;
}

/* responsivo */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

/* end footer */

/* checkbox */

.custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
}

/* checkbox base */
.custom-checkbox .form-check-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    background-color: transparent;
    border: 2px solid var(--primary-white);
    border-radius: 5px;
    margin-top: 3px;
    transition: 0.2s;
}

/* checked */
.custom-checkbox .form-check-input:checked {
    background-color: var(--dark);
    border-color: var(--primary-emphasi);
}

/* foco */
.custom-checkbox .form-check-input:focus {
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.4);
}

/* label */
.custom-checkbox .form-check-label {
    cursor: pointer;
    line-height: 1.4;
}

/* links */
.custom-checkbox a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
}

.custom-checkbox a:hover {
    text-decoration: underline;
}

/* end checkbox */

@media (max-width: 900px) {
    form,
    .profile,
    .div-emphasis,
    .filter-box {
        width: 100%;
    }
}

@media (max-width: 1178px) {
    .filter-box {
        flex-direction: column;
    }
}