body {
    background: #f5f1ea;
}

.admin-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 0 40px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 22px;
}

.admin-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #9b6b3d;
    margin-bottom: 6px;
}

.admin-header h1 {
    margin: 0;
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -1.5px;
    color: #24150d;
}

.admin-header p {
    margin: 6px 0 0;
    color: #7a6658;
}

.search-card {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    background: #fff;
    padding: 12px;
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(36, 21, 13, .08);
    margin-bottom: 20px;
}

    .search-card input {
        border: none;
        outline: none;
        background: #f7f2eb;
        border-radius: 16px;
        padding: 14px 16px;
        font-size: 15px;
    }

    .search-card button,
    .search-card a {
        border: none;
        text-decoration: none;
        border-radius: 16px;
        padding: 13px 18px;
        font-weight: 800;
    }

    .search-card button {
        background: #24150d;
        color: white;
    }

    .search-card a {
        background: #f7f2eb;
        color: #6f5745;
    }

.clientes-card {
    background: #fff;
    border-radius: 26px;
    padding: 14px;
    box-shadow: 0 18px 48px rgba(36, 21, 13, .10);
    overflow-x: auto;
}

.clientes-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

    .clientes-table th {
        padding: 14px 16px;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: .08em;
        color: #9b6b3d;
        border: none;
    }

    .clientes-table td {
        padding: 16px;
        background: #fbf7f0;
        color: #2b1a10;
        vertical-align: middle;
        border: none;
    }

    .clientes-table tbody tr td:first-child {
        border-radius: 18px 0 0 18px;
    }

    .clientes-table tbody tr td:last-child {
        border-radius: 0 18px 18px 0;
    }

.cliente-name {
    font-weight: 900;
}

.sellos-badge {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 34px;
    height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: #24150d;
    color: white;
    font-weight: 900;
    transition: .25s ease;
}

.sellos-updated {
    background: #188957;
    transform: scale(1.15);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    .actions form {
        display: inline;
    }

.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    text-decoration: none;
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.btn-sello {
    background: #188957;
    color: white;
}

.btn-descuento {
    background: #fff1cf;
    color: #9b6200;
    border: 1px solid #e0b763;
}

.btn-cafe {
    background: #d5974a;
    color: white;
}

.btn-ver {
    background: #24150d;
    color: white;
}

@media (max-width: 768px) {
    .admin-page {
        padding: 18px 10px 30px;
    }

    .admin-header h1 {
        font-size: 34px;
    }

    .search-card {
        grid-template-columns: 1fr;
    }

    .clientes-table {
        min-width: 780px;
    }
}









.nav-user {
    color: #4b2e1f;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
}

.btn-login,
.btn-register,
.btn-logout {
    border: none;
    text-decoration: none;
    border-radius: 999px;
    padding: 9px 16px;
    font-weight: 800;
    font-size: 14px;
    transition: .2s ease;
}

.btn-login {
    background: #2a1a10;
    color: white;
}

.btn-register {
    background: #f3e6d2;
    color: #4b2e1f;
}

.btn-logout {
    background: #f1eeee;
    color: #4b2e1f;
    cursor: pointer;
}

    .btn-login:hover,
    .btn-register:hover,
    .btn-logout:hover {
        transform: translateY(-1px);
        opacity: .9;
    }





body {
    background: #f5f1ea;
    color: #24150d;
    margin: 0;
}

.app-header {
    padding: 14px 18px 0;
}

.app-navbar {
    background: rgba(255,255,255,.9);
    border-radius: 24px;
    box-shadow: 0 14px 40px rgba(36,21,13,.08);
    padding: 10px 14px;
}

.app-nav-container {
    max-width: 1240px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #24150d;
    font-weight: 900;
    font-size: 20px;
    text-decoration: none;
    line-height: 1;
}

.brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #24150d;
    color: #d5974a;
    display: grid;
    place-items: center;
}

.brand small {
    display: block;
    color: #9b6b3d;
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 3px;
}

.app-menu {
    margin-left: 28px;
    gap: 8px;
}

    .app-menu .nav-link {
        color: #6f5745;
        font-weight: 800;
        border-radius: 999px;
        padding: 9px 15px;
    }

        .app-menu .nav-link:hover {
            background: #f3e6d2;
            color: #24150d;
        }

.app-main {
    padding: 24px 18px 50px;
}

.app-container {
    max-width: 1240px;
}

.app-footer {
    text-align: center;
    color: #8b7563;
    font-size: 13px;
    padding: 22px;
}





.tabla-scroll {
    max-height: 650px;
    overflow-y: auto;
    overflow-x: auto;
}

.clientes-table thead th {
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}



.btn-quitar {
    background: #f1d8d8;
    color: #8f1f1f;
    border: 1px solid #e5b8b8;
}