/* ================================
   NAV LINKS – NRW Stil
================================ */

nav a {
    text-decoration: underline;
    color: var(--text-main);
    padding: 6px 10px;
    transition: color 0.3s ease-in-out;
}

nav a:hover,
nav a:focus {
    color: var(--accent);
}

nav a.active {
    color: var(--accent);
    font-weight: 600;
}

/* ================================
   CARD SYSTEM – NRW Classic
================================ */

.card {
    display: flex;
    flex-direction: column;

    background: var(--bg-surface);
    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-soft);
margin: 10px 20px 15px 20px;
    overflow: hidden;
}

/* Header mit cellpic.gif */

.card-header {
    padding: 4px 4px 4px 20px;

    background-color: var(--bg-surface);
    background-image: url("/assets/css/nrw-standart/cellpic.gif");
    background-repeat: repeat-x;

    font-weight: 600;
    font-size: 0.9rem;
}

/* Body */

.card-body {
    padding: 10px;
    flex: 1;
}

/* Footer */

.card-footer {
    padding: 10px 20px;

    background: var(--bg-elevated);
    color: var(--text-muted);

    font-size: 0.85rem;
}

/* ================================
   FORM SYSTEM – NRW Dark Inputs
================================ */

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--text-main);
}

.form-group input,
.form-group select {
    padding: 8px 10px;

    border-radius: var(--radius-sm);
    border: none;

    background: rgba(80, 92, 105, 0.6);
    color: var(--text-main);

    outline: none;
}

.form-group input:focus,
.form-group select:focus {
    outline: 1px solid var(--accent);
}

/* ================================
   BUTTON – NRW Stil
================================ */

.btn {
    padding: 8px 16px;

    border-radius: var(--radius-sm);
    border: none;

    background: #556270;
    color: #ffffff;

    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.btn:hover {
    background: #6b7b8c;
}

/* ================================
   PROGRESS BAR – NRW Dark
================================ */

.progress {
    width: 100%;
    height: 8px;

    background: rgba(23, 29, 36, 0.8);
    border-radius: var(--radius-sm);

    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;

    background: #4CAF50;
    transition: width 0.2s linear;
}

/* ================================
   CARD GRID
================================ */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    #gap: 10px;
}

/* ================================
   AGENT STATUS
================================ */

.agent {
    padding: 8px 12px;
    margin-bottom: 8px;

    border-radius: var(--radius-sm);

    background: rgba(0,0,0,0.25);

    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;

    transition: background 0.2s ease;
}


/* ------------------
   AKTIV – Grün
------------------ */

.agent.activ {
    border-left: 4px solid #2ecc71; /* Grün */
}


/* ------------------
   IN REVIEW – Orange
------------------ */

.agent.inreview {
    border-left: 4px solid #f39c12; /* Orange */
}


/* ------------------
   EXPIRE – Rot
------------------ */

.agent.expire {
    border-left: 4px solid #e74c3c; /* Rot */
}

/* ================================
   LEGEND SYSTEM
================================ */

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 6px 0;

    font-size: 0.9rem;
    color: var(--text-main);
}


/* Status-Kreise */

.legend-icon {
    width: 12px;
    height: 12px;

    border-radius: 50%;

    flex-shrink: 0;
}


/* Aktiv – Grün */

.legend-icon.activ {
    background: #2ecc71;
}


/* In Review – Orange */

.legend-icon.inreview {
    background: #f39c12;
}


/* Expire – Rot */

.legend-icon.expire {
    background: #e74c3c;
}


.nav-connector-line {
    border-radius: 2px;
}
