/* PROMETHEUS 4.0 — Modale Athena */

#device-modal .athena-dashboard {
    margin-top: 24px;
    padding: 24px;
    border: 1px solid #284b70;
    border-radius: 16px;
    background: linear-gradient(145deg, #142943, #0c192d);
}

#device-modal .athena-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

#device-modal .athena-heading h3 {
    margin: 0;
    color: #f4f8ff;
    font-size: 20px;
}

#device-modal .athena-status {
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

#device-modal .athena-status.online {
    color: #20d998;
    background: rgba(32, 217, 152, .12);
}

#device-modal .athena-status.offline {
    color: #ff7585;
    background: rgba(255, 117, 133, .12);
}

#device-modal .athena-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

#device-modal .athena-card,
#device-modal .athena-database {
    min-width: 0;
    padding: 17px;
    border: 1px solid #2b4c70;
    border-radius: 12px;
    background: #172d49;
}

#device-modal .athena-card span,
#device-modal .athena-database span {
    display: block;
    margin-bottom: 10px;
    color: #93b9df;
    font-size: 12px;
}

#device-modal .athena-card strong {
    display: block;
    color: #fff;
    font-size: 18px;
    overflow-wrap: anywhere;
}

#device-modal .athena-gauge {
    margin: 22px 0;
    padding: 18px;
    border: 1px solid #2b4c70;
    border-radius: 12px;
    background: #102139;
}

#device-modal .athena-gauge-label {
    margin-bottom: 12px;
    color: #e6f1ff;
    font-size: 14px;
}

#device-modal .athena-track {
    height: 12px;
    overflow: hidden;
    border-radius: 20px;
    background: #071324;
}

#device-modal .athena-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0fbc88, #38e9b1);
    transition: width .3s ease;
}

#device-modal .athena-databases {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

#device-modal .athena-database strong {
    display: block;
    margin-bottom: 8px;
    color: #f4f8ff;
    overflow-wrap: anywhere;
}

#device-modal .athena-database span {
    margin: 0;
}

#device-modal .athena-note {
    margin-top: 20px;
    color: #93b9df;
    font-size: 12px;
}

#device-modal .athena-admin-link {
    display: block;
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    background: #245c93;
    color: white;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
}

#device-modal .athena-admin-link:hover {
    background: #3079b9;
}

@media (max-width: 700px) {
    #device-modal .athena-cards,
    #device-modal .athena-databases {
        grid-template-columns: 1fr;
    }

    #device-modal .athena-dashboard {
        padding: 15px;
    }
}
