cd /home/opc/biaguas

cat > static/css/admin.css <<'CSS'
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f7f9;
    color: #102033;
}

/* LOGIN */
.login-body {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(0,111,143,0.92), rgba(6,37,54,0.96));
    padding: 24px;
}

.login-box {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    padding: 38px;
    border-radius: 26px;
    box-shadow: 0 24px 70px rgba(0,0,0,0.28);
}

.login-box h1 {
    margin: 0 0 24px;
    text-align: center;
    color: #062536;
}

.login-box form {
    display: grid;
    gap: 16px;
}

.login-box input {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid #d8e1e6;
    border-radius: 14px;
    font-size: 16px;
}

.login-box button {
    width: 100%;
    background: #006f8f;
    color: white;
    border: 0;
    border-radius: 999px;
    padding: 15px 20px;
    font-weight: 800;
    cursor: pointer;
    font-size: 16px;
}

.admin-error {
    background: #ffe8e8;
    color: #9b1c1c;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 16px;
    text-align: center;
}

/* ADMIN LAYOUT */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: #062536;
    color: white;
    position: fixed;
    inset: 0 auto 0 0;
    padding: 24px 18px;
}

.admin-logo {
    font-weight: 800;
    font-size: 22px;
    margin-bottom: 28px;
}

.admin-sidebar a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    background: rgba(255,255,255,0.12);
}

.admin-content {
    margin-left: 260px;
    width: calc(100% - 260px);
    min-height: 100vh;
}

.admin-topbar {
    height: 68px;
    background: white;
    border-bottom: 1px solid #e6eef2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
}

.admin-main {
    padding: 32px;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.admin-card,
.admin-form,
.admin-table {
    background: white;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.admin-card {
    padding: 26px;
}

.admin-card strong {
    display: block;
    font-size: 32px;
    margin-top: 10px;
}

.admin-form {
    padding: 22px;
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d8e1e6;
    border-radius: 10px;
}

.admin-form textarea {
    min-height: 90px;
}

.admin-form button {
    background: #006f8f;
    color: white;
    border: 0;
    border-radius: 999px;
    padding: 13px 20px;
    font-weight: 800;
    cursor: pointer;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
}

.admin-table th,
.admin-table td {
    padding: 12px;
    border-bottom: 1px solid #edf1f4;
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    background: #e9f4f7;
}

.admin-thumb {
    width: 120px;
    max-height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

@media (max-width: 800px) {
    .admin-sidebar {
        position: relative;
        width: 100%;
        inset: auto;
    }

    .admin-layout {
        display: block;
    }

    .admin-content {
        margin-left: 0;
        width: 100%;
    }

    .admin-grid {
        grid-template-columns: 1fr;
    }
}
CSS