﻿
:root {
    --cloudburst: #1E294C;
    --manhattan: #F6CE98;
    --jaffa: #ED733F;
    --tamarillo: #A81926;
    --muted: #E9EEF8;
}

/* ---------------------- */
/* GENERAL */
body {
    background: var(--cloudburst);
    color: var(--muted);
    font-family: "Inter", Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* ---------------------- */
/* TOPBAR */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
}

.topbar-actions .search {
    width: 250px;
    background: rgba(255,255,255,0.08);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--muted);
}

.btn-custom {
    background-color: var(--jaffa);
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    padding: 0.5rem 1rem;
}

    .btn-custom:hover {
        background-color: #d35c2b;
    }

/* ---------------------- */
/* WIDGETS GRID */
.widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* ---------------------- */
/* CARD ESTILO */
.card {
    background: var(--manhattan);
    color: var(--cloudburst);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 25px rgba(0,0,0,0.2);
    }

/* ---------------------- */
/* TABLAS */
.grid {
    width: 100%;
    border-collapse: collapse;
}

    .grid th {
        background: var(--jaffa);
        color: #fff;
        padding: 0.6rem;
        text-align: left;
    }

    .grid td {
        padding: 0.6rem;
        border-bottom: 1px solid rgba(0,0,0,0.15);
    }

/* ---------------------- */
/* PANEL */
.panel {
    background: rgba(255,255,255,0.05);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

/* ---------------------- */
/* ACTIVIDAD RECIENTE */
.meeting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem;
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(255,255,255,0.08), transparent);
    margin-bottom: 0.6rem;
}

/* ---------------------- */
/* USUARIOS EN LÍNEA */
.users .user-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.05);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

    .status-dot.online {
        background: #28a745;
    }

    .status-dot.offline {
        background: #6c757d;
    }

/* ---------------------- */


/* ---------------------- */
/* FORMULARIOS - INPUTS Y BOTONES */
.form-control, .form-select {
    border-radius: 10px;
    background-color: #FFF3D6;
    border: 1px solid var(--jaffa);
    color: var(--cloudburst);
    padding: 0.5rem;
}

    .form-control::placeholder {
        color: #6c757d;
    }

    .form-control:focus {
        border-color: var(--jaffa);
        box-shadow: 0 0 6px var(--jaffa);
        outline: none;
    }

.btn-warning {
    background-color: var(--jaffa);
    border: none;
    color: #fff;
    font-weight: 700;
    border-radius: 8px;
}

    .btn-warning:hover {
        background-color: #d35c2b;
    }

/* ---------------------- */
/* RESPONSIVE */
@media (max-width: 1000px) {
    .topbar {
        flex-direction: column;
        gap: 0.5rem;
    }

    .widgets {
        grid-template-columns: 1fr;
    }

    .announcement-grid {
        grid-template-columns: 1fr;
    }
}

