* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #0f172a;
    color: white;
    min-height: 100vh;
    display: flex;
}

/* SIDEBAR */

.sidebar {
    width: 260px;
    background: linear-gradient(180deg, #111827, #0f172a);
    border-right: 1px solid rgba(255,255,255,0.08);
    padding: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 22px;
    font-weight: 700;
}

.logo i {
    color: #3b82f6;
}

/* MAIN */

.main {
    flex: 1;
    padding: 30px;
}

/* TOPO */

.topbar {
    margin-bottom: 30px;
}

.topbar h1 {
    font-size: 32px;
    font-weight: 700;
}

/* CARDS */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.card {
    background: rgba(255,255,255,0.05);

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 22px;

    padding: 25px;

    display: flex;

    align-items: center;

    gap: 20px;

    backdrop-filter: blur(10px);

    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);

    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.card i {
    font-size: 40px;
    color: #3b82f6;
}

.card h3 {
    color: #94a3b8;
    font-size: 15px;
    margin-bottom: 5px;
}

.card span {
    font-size: 24px;
    font-weight: bold;
}

.menu {

    margin-top: 50px;

    display: flex;

    flex-direction: column;

    gap: 10px;
}

.menu a {

    display: flex;

    align-items: center;

    gap: 15px;

    text-decoration: none;

    color: #cbd5e1;

    padding: 14px 18px;

    border-radius: 14px;

    transition: 0.3s;

    font-weight: 500;
}

.menu a:hover {

    background: rgba(59,130,246,0.15);

    color: #3b82f6;

    transform: translateX(5px);
}

.menu a i {

    width: 20px;
}

.menu a.active {

    background: linear-gradient(45deg,#2563eb,#3b82f6);

    color: white;

    box-shadow: 0 10px 25px rgba(59,130,246,0.35);
}

.menu a.active i {

    color: white;
}

/* FORM */

.form-container,
.table-container {

    background: rgba(255,255,255,0.05);

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 25px;

    padding: 30px;

    margin-bottom: 30px;
}

.form-container h2,
.table-container h2 {
    margin-bottom: 25px;
}

.grid {

    display: grid;

    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));

    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    margin-bottom: 10px;
    color: #cbd5e1;
}

.input-group input,
.input-group select,
.input-group textarea {

    background: #111827;

    border: 1px solid rgba(255,255,255,0.1);

    border-radius: 14px;

    padding: 14px;

    color: white;

    outline: none;

    transition: 0.3s;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {

    border-color: #3b82f6;

    box-shadow: 0 0 0 3px rgba(59,130,246,0.2);
}

.input-group textarea {

    min-height: 120px;

    resize: none;
}

.full {
    margin-top: 20px;
}

/* BOTÃO */

.btn-submit {

    margin-top: 25px;

    background: linear-gradient(45deg,#2563eb,#3b82f6);

    border: none;

    padding: 15px 25px;

    border-radius: 15px;

    color: white;

    font-size: 16px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.3s;
}

.btn-submit:hover {

    transform: scale(1.03);

    box-shadow: 0 10px 25px rgba(59,130,246,0.4);
}

/* TABELA */

.table-container {
    overflow-x: auto;
}

table {

    width: 100%;

    border-collapse: collapse;

    min-width: 1200px;
}

table thead {
    background: #1e293b;
}

table th,
table td {

    padding: 15px;

    text-align: left;
}

table tbody tr {

    border-bottom: 1px solid rgba(255,255,255,0.05);

    transition: 0.3s;
}

table tbody tr:hover {

    background: rgba(255,255,255,0.03);
}

/* STATUS */

.status {

    padding: 8px 14px;

    border-radius: 50px;

    font-size: 13px;

    font-weight: bold;
}

.pendente {

    background: rgba(251,191,36,0.2);

    color: #fbbf24;
}

.em-análise {

    background: rgba(59,130,246,0.2);

    color: #3b82f6;
}

.aprovado {

    background: rgba(34,197,94,0.2);

    color: #22c55e;
}

.recusado {

    background: rgba(239,68,68,0.2);

    color: #ef4444;
}

.finalizado {

    background: rgba(168,85,247,0.2);

    color: #a855f7;
}

/* BOTÃO EXCLUIR */

.btn-delete {

    width: 40px;

    height: 40px;

    border: none;

    border-radius: 12px;

    background: #ef4444;

    color: white;

    cursor: pointer;

    transition: 0.3s;
}

.btn-delete:hover {

    transform: scale(1.05);

    background: #dc2626;
}

/* RESPONSIVO */

@media(max-width: 900px) {

    body {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .topbar h1 {
        font-size: 24px;
    }

}


/* SWEETALERT CUSTOM */

.swal2-popup {

    background: rgba(17, 24, 39, 0.96) !important;

    border: 1px solid rgba(255,255,255,0.06);

    border-radius: 24px !important;

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        0 20px 50px rgba(0,0,0,0.45),
        0 0 0 1px rgba(255,255,255,0.03);

    padding: 30px !important;
}

.swal2-title {

    color: #fff !important;

    font-size: 26px !important;

    font-weight: 700 !important;
}

.swal2-html-container {

    color: #cbd5e1 !important;
}

.swal2-input {

    background: rgba(255,255,255,0.04) !important;

    border: 1px solid rgba(255,255,255,0.08) !important;

    color: #fff !important;

    border-radius: 14px !important;

    height: 52px !important;

    font-size: 15px !important;

    transition: 0.3s;
}

.swal2-input:focus {

    border-color: #3b82f6 !important;

    box-shadow: 0 0 0 4px rgba(59,130,246,0.18) !important;
}

.swal2-confirm {

    background: linear-gradient(45deg,#2563eb,#3b82f6) !important;

    border-radius: 14px !important;

    padding: 12px 24px !important;

    font-weight: 600 !important;

    border: none !important;

    transition: 0.3s !important;
}

.swal2-confirm:hover {

    transform: translateY(-2px);

    box-shadow: 0 10px 25px rgba(59,130,246,0.35);
}

.swal2-cancel {

    border-radius: 14px !important;

    padding: 12px 24px !important;

    font-weight: 600 !important;
}

.swal2-backdrop-show {

    backdrop-filter: blur(6px);
}