body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #0B0C10;
    color: #C5C6C7;
}

/* ===== Layout Base ===== */
.adm-container {
    display: flex;
    min-height: 100vh;
}

/* ===== Sidebar ===== */
.sidebar {
    background-color: #1F2833;
    width: 240px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.logo-area {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    width: 90px;
    margin-bottom: 10px;
}

.logo-area h2 {
    color: #66FCF1;
    font-size: 18px;
    margin: 5px 0 2px;
}

.logo-area p {
    font-size: 13px;
    color: #C5C6C7;
}

.menu {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-item {
    display: block;
    color: #C5C6C7;
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 10px;
    transition: 0.2s;
}

.menu-item:hover {
    background-color: #45A29E;
    color: #0B0C10;
}

.logout {
    margin-top: auto;
    background-color: #FF6B6B;
    color: white;
}

/* ===== Conteúdo ===== */
.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.topbar {
    background-color: #1F2833;
    padding: 12px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
}

.topbar h1 {
    color: #66FCF1;
    margin: 0;
    font-size: 20px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #66FCF1;
    font-size: 24px;
    cursor: pointer;
}

.page-content {
    padding: 25px;
    overflow-y: auto;
}

/* ===== Página de Usuários ===== */
.user-page {
    padding: 25px;
    color: #C5C6C7;
    background-color: #0B0C10;
    border-radius: 10px;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.4);
}

.page-title {
    color: #66FCF1;
    font-size: 24px;
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(102, 252, 241, 0.3);
}

/* ===== Formulário ===== */
.user-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.user-form .form-control {
    background-color: #1F2833;
    border: 1px solid #45A29E;
    color: #C5C6C7;
    border-radius: 8px;
    padding: 10px;
    width: 220px;
}

.user-form .form-control:focus {
    outline: none;
    border-color: #66FCF1;
    box-shadow: 0 0 10px rgba(102,252,241,0.3);
}

.btn-add {
    background-color: #45A29E;
    color: #0B0C10;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.2s;
}

.btn-add:hover {
    background-color: #66FCF1;
    transform: scale(1.05);
}

/* ===== Tabela ===== */
.table-container {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background-color: #1F2833;
    border-radius: 8px;
    overflow: hidden;
}

.table th, .table td {
    padding: 12px;
    border-bottom: 1px solid #45A29E;
}

.table th {
    color: #66FCF1;
    text-align: left;
    font-weight: bold;
}

.table-striped tbody tr:nth-child(odd) {
    background-color: rgba(102, 252, 241, 0.05);
}

.table-hover tbody tr:hover {
    background-color: rgba(102, 252, 241, 0.15);
}

/* ===== Dashboard ===== */
.dashboard {
    padding: 30px;
    color: #C5C6C7;
}

.dashboard-title {
    font-size: 28px;
    color: #66FCF1;
    margin-bottom: 10px;
}

.dashboard-subtitle {
    font-size: 16px;
    margin-bottom: 25px;
}

.dashboard-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
}

.summary-card {
    background-color: #1F2833;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    transition: 0.2s;
}

.summary-card:hover {
    background-color: #45A29E;
    color: #0B0C10;
}

.summary-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.summary-label {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.summary-value {
    font-size: 22px;
    font-weight: bold;
}

/* ===== Footer ===== */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #222;
    color: white;
    text-align: center;
    padding: 10px 0;
}

/* ===== Responsividade ===== */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .menu-toggle {
        display: block;
    }

    .adm-container {
        flex-direction: column;
    }

    .content {
        margin-left: 0;
    }

    .page-content {
        padding: 15px;
    }

    .user-form .form-control {
        width: 100%;
    }

    .dashboard-title {
        font-size: 22px;
    }

    .dashboard-summary {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .footer {
        position: relative;
    }
}

/* ===== Tela de Login ===== */
.login-body {
    margin: 0;
    height: 100vh;
    background: radial-gradient(circle at top, #1F2833, #0B0C10);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    max-width: 380px;
    padding: 20px;
}

.login-card {
    background-color: #1F2833;
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
    text-align: center;
}

.login-logo {
    width: 90px;
    margin-bottom: 15px;
}

.login-card h2 {
    color: #66FCF1;
    margin-bottom: 5px;
}

.login-card p {
    color: #C5C6C7;
    margin-bottom: 20px;
}

.login-card .form-control {
    width: 100%;
    margin-bottom: 12px;
}

.login-error {
    color: #FF6B6B;
    margin-top: 10px;
    font-size: 14px;
}


.fade-out {
    opacity: 0;
    transition: opacity 0.4s ease;
}


center {
    position: fixed;
    bottom: 5px;
    width: 100%;
    text-align: center;
    z-index: -1; /* joga para trás de tudo */
}

center a[href*="somee.com"] {
    font-size: 12px;
    color: #aaa;
    text-decoration: none;
}





.toolbar {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.toolbar input, .toolbar select {
    flex: 1;
    padding: 8px 12px;
    border-radius: 8px;
    border: none;
    background: #1f2a33;
    color: #fff;
}

.desktop-only { display: block; }
.mobile-only { display: none; }

@media (max-width: 768px) {
    .desktop-only { display: none; }
    .mobile-only { display: block; }

    .agendamento-card {
        background: #1f2a33;
        border-radius: 12px;
        padding: 16px;
        margin-bottom: 12px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }

    .agendamento-card .cliente {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 8px;
    }

    .agendamento-card .linha {
        display: flex;
        justify-content: space-between;
        margin: 6px 0;
        font-size: 0.95rem;
    }

    .acoes {
        display: flex;
        gap: 8px;
        margin-top: 12px;
    }

    .acoes button {
        flex: 1;
        padding: 8px;
        border-radius: 8px;
        border: none;
        font-size: 0.85rem;
        cursor: pointer;
    }

    .btn-confirmar { background: #4caf50; color: #fff; }
    .btn-cancelar { background: #ff5c5c; color: #fff; }
    .btn-detalhes { background: #2196f3; color: #fff; }

    .status.confirmado { color: #4caf50; font-weight: bold; }
    .status.pendente { color: #ffc107; font-weight: bold; }
    .status.cancelado { color: #ff5c5c; font-weight: bold; }
}




    .usuario-card {
        background: #1f2a33;
        border-radius: 12px;
        padding: 16px;
        margin-bottom: 12px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }

    .usuario-card .nome {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 6px;
    }

    .usuario-card .email {
        font-size: 0.9rem;
        color: #aaa;
        margin-bottom: 10px;
    }

    .usuario-card .acoes {
        display: flex;
        gap: 10px;
    }

    .usuario-card .acoes button {
        flex: 1;
        padding: 8px;
        border-radius: 8px;
        border: none;
        font-size: 0.85rem;
        cursor: pointer;
    }

    .btn-excluir { background: #ff5c5c; color: #fff; }
    .btn-editar { background: #2196f3; color: #fff; }
}
