/* ============================================================
   DRIG MODEL - STIJLBESTAND
   ============================================================ */

.flat {
    display: grid !important;
    grid-template-columns: repeat(14, 100px) !important;
    grid-auto-rows: 80px !important;
    gap: 6px !important;
    margin-bottom: 20px !important;
}

/* ===== DRIG BADGE STIJL ===== */
.drig-badge {
    display: inline-block;
    background: #1976d2;
    color: white;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.5px;
    position: relative;
}

.drig-badge:hover {
    background: #0d47a1;
    cursor: help;
}

.drig-badge .tooltip-text {
    visibility: hidden;
    width: 280px;
    background: #0d47a1;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 12px;
    position: absolute;
    z-index: 1000;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: normal;
    opacity: 0;
    transition: opacity 0.3s;
}

.drig-badge .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #0d47a1 transparent transparent transparent;
}

.drig-badge:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* ===== DRIG INFO BLOK ===== */
.drig-info-block {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 12px;
    padding: 20px 25px;
    margin: 15px 0 25px 0;
    border: 1px solid #64b5f6;
}

.drig-info-block .drig-header {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.drig-info-block .drig-title {
    color: #0d47a1;
    font-size: 16px;
    font-weight: bold;
}

.drig-info-block .drig-subtitle {
    margin: 5px 0 0 0;
    color: #1a237e;
    font-size: 13px;
    line-height: 1.5;
}

.drig-info-block .drig-version {
    font-size: 12px;
    color: #0d47a1;
    background: rgba(255,255,255,0.5);
    padding: 4px 12px;
    border-radius: 20px;
}

/* ===== COMPARE POPUP STIJL ===== */
.compare-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    z-index: 1001;
    box-shadow: 0 0 30px rgba(0,0,0,0.3);
}

.compare-popup .close-btn {
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
}
.compare-popup .close-btn:hover {
    color: #333;
}

.compare-popup .compare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 15px 0;
}

.compare-popup .compare-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #dee2e6;
    text-align: center;
}

.compare-popup .compare-card .woning-id {
    font-weight: bold;
    font-size: 16px;
    color: #1976d2;
}

.compare-popup .compare-card .verbruik {
    font-size: 14px;
    margin: 5px 0;
}

.compare-popup .compare-card .kosten {
    font-size: 14px;
    font-weight: bold;
    color: #2e7d32;
}

.compare-popup .compare-card .drig-factor {
    font-size: 12px;
    color: #666;
}

/* ===== DRIG ANALYSE BLOK IN POPUP ===== */
.drig-analyse-block {
    background: #e3f2fd;
    border: 2px solid #2196f3;
    border-radius: 8px;
    padding: 12px;
    margin: 10px 0;
}

.drig-analyse-block .drig-header-small {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.drig-analyse-block .drig-label {
    background: #1976d2;
    color: white;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
}

.drig-analyse-block .drig-name {
    font-size: 12px;
    color: #0d47a1;
    font-weight: bold;
}

.drig-analyse-block .drig-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 13px;
}

.drig-analyse-block .drig-card {
    background: rgba(255,255,255,0.6);
    padding: 8px;
    border-radius: 4px;
}

.drig-analyse-block .drig-uitleg {
    margin-top: 8px;
    font-size: 12px;
    color: #0d47a1;
    background: rgba(255,255,255,0.8);
    padding: 8px;
    border-radius: 4px;
}

/* ===== WAARSCHUWING BLOK ===== */
.drig-warning {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 12px;
    margin: 10px 0;
    display: none;
}

.drig-warning .warning-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.drig-warning .warning-icon {
    font-size: 24px;
}

.drig-warning .warning-title {
    color: #856404;
    font-weight: bold;
}

.drig-warning .warning-text {
    margin: 5px 0 0 0;
    color: #856404;
    font-size: 13px;
}

.drig-warning .warning-small {
    margin: 3px 0 0 0;
    color: #856404;
    font-size: 12px;
}

/* ===== OFFICIELE REFERENTIE BLOK ===== */
.drig-reference {
    background: #e8f5e9;
    border: 1px solid #4caf50;
    border-radius: 8px;
    padding: 12px;
    margin: 10px 0;
    display: none;
}

.drig-reference .ref-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.drig-reference .ref-icon {
    font-size: 24px;
}

.drig-reference .ref-title {
    color: #2e7d32;
    font-weight: bold;
}

.drig-reference .ref-text {
    margin: 5px 0 0 0;
    color: #2e7d32;
    font-size: 13px;
}

.drig-reference .ref-small {
    margin: 3px 0 0 0;
    color: #2e7d32;
    font-size: 12px;
}

/* ===== JAAR SELECTOR ===== */
.jaar-selector-wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
    min-width: 280px;
}

.jaar-selector-wrapper label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.jaar-selector-wrapper .jaar-uitleg {
    font-weight: normal;
    font-size: 12px;
    color: #666;
    display: block;
    margin-top: 2px;
}

.jaar-selector-wrapper select {
    padding: 10px 12px;
    border-radius: 8px;
    border: 2px solid #ccc;
    background-color: #fff;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.2s;
}

select#jaar option.jaar-historisch {
    background-color: #d5f5e3;
    font-weight: bold;
}
select#jaar option.jaar-huidig {
    background-color: #d6eaf8;
    font-weight: bold;
}
select#jaar option.jaar-stook {
    background-color: #d5f5e3;
    font-weight: bold;
}
select#jaar option.jaar-toekomst {
    background-color: #f8f9fa;
}

.jaar-info-box {
    margin-top: 8px;
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 4px;
    border-left: 3px solid #e67e22;
    background: #fdf2e9;
}
.jaar-info-box.stookjaar {
    border-left-color: #2ecc71;
    background: #eafaf1;
}
.jaar-info-box.huidigjaar {
    border-left-color: #3498db;
    background: #ebf5fb;
}
.jaar-info-box.toekomstig {
    border-left-color: #f39c12;
    background: #fef9e7;
}

/* ===== LEGENDA ===== */
.grid-legenda {
    margin-bottom: 15px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}
.grid-legenda .legenda-item {
    display: flex;
    align-items: center;
    gap: 5px;
}
.grid-legenda .legenda-kleur {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 4px;
}
.grid-legenda .legenda-label {
    font-size: 13px;
}
.grid-legenda .legenda-toelichting {
    margin-left: auto;
    font-size: 12px;
    color: #666;
}

/* ===== SELF-SERVICE INFO ===== */
.self-service-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 20px 25px;
    margin: 15px 0 25px 0;
    border: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}
.self-service-info .icon {
    font-size: 48px;
    line-height: 1;
}
.self-service-info .content {
    flex: 1;
}
.self-service-info .content h4 {
    margin: 0 0 5px 0;
    color: #2c3e50;
}
.self-service-info .content p {
    margin: 0;
    color: #555;
    font-size: 14px;
}
.self-service-info .content .highlight {
    background: #fff3cd;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
}
.self-service-info .buttons {
    display: flex;
    gap: 10px;
}
.self-service-info .buttons button {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
}
.self-service-info .buttons .btn-data-invoeren {
    background: #28a745;
    color: white;
}
.self-service-info .buttons .btn-data-invoeren:hover {
    background: #218838;
}
.self-service-info .buttons .btn-uitleg {
    background: #6c757d;
    color: white;
}
.self-service-info .buttons .btn-uitleg:hover {
    background: #5a6268;
}
.self-service-info .buttons .btn-vergelijk {
    background: #1976d2;
    color: white;
}
.self-service-info .buttons .btn-vergelijk:hover {
    background: #0d47a1;
}



/* ===== UNIT POPUP ===== */
.unit-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 750px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    z-index: 1000;
    box-shadow: 0 0 30px rgba(0,0,0,0.3);
}

.unit-popup .close-btn {
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
}
.unit-popup .close-btn:hover {
    color: #333;
}

/* ===== UNIT CHECKBOX ===== */
.unit {
    position: relative;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.2s;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 11px;
    line-height: 1.3;
}

.unit .select-overlay {
    position: absolute;
    top: 2px;
    right: 2px;
    z-index: 10;
    background: rgba(255,255,255,0.85);
    border-radius: 4px;
    padding: 2px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.unit .compare-checkbox {
    width: 14px;
    height: 14px;
    cursor: pointer;
    margin: 0;
    padding: 0;
    accent-color: #1976d2;
}

.unit .compare-checkbox:hover {
    transform: scale(1.1);
}

.unit .compare-checkbox:checked {
    accent-color: #1976d2;
}

.unit:hover .select-overlay {
    background: rgba(255,255,255,1);
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.unit.selected {
    outline: 2px solid #1976d2;
    outline-offset: 2px;
    box-shadow: 0 0 10px rgba(25, 118, 210, 0.3);
}

.empty-unit {
    background: #ccc;
    min-height: 70px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #999;
}

.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

#notification {
    display: none;
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    padding: 10px 20px;
    border-radius: 8px;
    background: #333;
    color: #fff;
}

@media (width >= 1200px) {
    h4, .h4 { font-size: 1.0rem; }
}

/* ===== LOGIN BLOK ONDERAAN ===== */
.login-block-onder {
    margin-top: 30px;
    padding: 20px 25px;
    background: #fef9e7;
    border: 1px solid #f39c12;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}
.login-block-onder .login-message {
    display: flex;
    align-items: center;
    gap: 12px;
}
.login-block-onder .login-message .lock-icon {
    font-size: 28px;
}
.login-block-onder .login-message p {
    margin: 0;
    font-size: 15px;
    color: #856404;
}
.login-block-onder .login-message p strong {
    color: #b9770e;
}
.login-block-onder .login-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
}
.login-block-onder .login-btn:hover {
    background: #388E3C;
}

/* ===== FOOTER ===== */
.drig-footer {
    margin-top: 40px;
    padding: 30px 20px 20px;
    background: #1a237e;
    color: #f0f0f0;
    border-radius: 12px 12px 0 0;
}
.drig-footer .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 50px;
    max-width: 1000px;
    margin: 0 auto;
}
.drig-footer .footer-grid h4 {
    color: #ffb74d;
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 16px;
}
.drig-footer .footer-grid p, 
.drig-footer .footer-grid li {
    font-size: 13px;
    line-height: 1.6;
    color: #cfd8dc;
}
.drig-footer .footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.drig-footer .footer-grid ul li {
    padding: 4px 0;
}
.drig-footer .footer-grid a {
    color: #ffb74d;
    text-decoration: none;
}
.drig-footer .footer-grid a:hover {
    text-decoration: underline;
}
.drig-footer .footer-bottom {
    text-align: center;
    border-top: 1px solid #3e4a8e;
    padding-top: 18px;
    margin-top: 25px;
    font-size: 12px;
    color: #9ea7c7;
}
.drig-footer .contact-form input,
.drig-footer .contact-form textarea {
    width: 100%;
    padding: 8px 12px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: 1px solid #3e4a8e;
    background: #0d1445;
    color: #fff;
    font-size: 13px;
}
.drig-footer .contact-form input::placeholder,
.drig-footer .contact-form textarea::placeholder {
    color: #7a85b0;
}
.drig-footer .contact-form button {
    background: #ffb74d;
    color: #1a237e;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}
.drig-footer .contact-form button:hover {
    background: #ffa726;
}

/* Responsive footer */
@media (max-width: 700px) {
    .drig-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .login-block-onder {
        flex-direction: column;
        text-align: center;
    }
}


/* ============================================================
   RESPONSIVE GRID (FLAT)
   ============================================================ */

/* Grid container */
.flat {
    display: grid !important;
    grid-template-columns: repeat(14, minmax(60px, 100px)) !important;
    grid-auto-rows: minmax(70px, 80px) !important;
    gap: 4px !important;
    margin-bottom: 20px !important;
    padding: 4px;
}

/* Units in het grid */
.unit {
    position: relative;
    cursor: pointer;
    padding: 4px 2px;
    border-radius: 4px;
    transition: all 0.2s;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 11px;
    line-height: 1.2;
    overflow: hidden;
    word-break: break-word;
}

.unit .select-overlay {
    position: absolute;
    top: 2px;
    right: 2px;
    z-index: 10;
    background: rgba(255,255,255,0.85);
    border-radius: 3px;
    padding: 1px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.unit .compare-checkbox {
    width: 12px;
    height: 12px;
    cursor: pointer;
    margin: 0;
    padding: 0;
    accent-color: #1976d2;
}

/* Lege units */
.empty-unit {
    background: #ddd;
    min-height: 60px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #999;
}

/* ============================================================
   RESPONSIVE AANPASSINGEN GRID
   ============================================================ */

/* Grote schermen (default) */
@media (min-width: 1200px) {
    .flat {
        grid-template-columns: repeat(14, minmax(80px, 100px)) !important;
        grid-auto-rows: minmax(75px, 85px) !important;
        gap: 5px !important;
    }
    .unit {
        font-size: 12px;
        padding: 6px 4px;
        min-height: 70px;
    }
    .unit .select-overlay {
        width: 20px;
        height: 20px;
    }
    .unit .compare-checkbox {
        width: 14px;
        height: 14px;
    }
}

/* Medium schermen (tablets) */
@media (max-width: 1199px) and (min-width: 992px) {
    .flat {
        grid-template-columns: repeat(14, minmax(65px, 85px)) !important;
        grid-auto-rows: minmax(65px, 75px) !important;
        gap: 4px !important;
    }
    .unit {
        font-size: 11px;
        padding: 4px 2px;
        min-height: 60px;
    }
    .unit .select-overlay {
        width: 18px;
        height: 18px;
    }
    .unit .compare-checkbox {
        width: 12px;
        height: 12px;
    }
}

/* Kleine tablets / grote telefoons */
@media (max-width: 991px) and (min-width: 768px) {
    .flat {
        grid-template-columns: repeat(14, minmax(55px, 70px)) !important;
        grid-auto-rows: minmax(55px, 65px) !important;
        gap: 3px !important;
    }
    .unit {
        font-size: 9px;
        padding: 3px 1px;
        min-height: 50px;
        border-radius: 3px;
    }
    .unit .select-overlay {
        width: 16px;
        height: 16px;
        top: 1px;
        right: 1px;
    }
    .unit .compare-checkbox {
        width: 10px;
        height: 10px;
    }
    .empty-unit {
        font-size: 9px;
        min-height: 50px;
    }
}

/* Telefoons */
@media (max-width: 767px) {
    .flat {
        grid-template-columns: repeat(14, minmax(40px, 55px)) !important;
        grid-auto-rows: minmax(45px, 55px) !important;
        gap: 2px !important;
        padding: 2px;
    }
    .unit {
        font-size: 7px;
        padding: 2px 1px;
        min-height: 40px;
        border-radius: 2px;
        line-height: 1.1;
    }
    .unit .select-overlay {
        width: 14px;
        height: 14px;
        top: 1px;
        right: 1px;
        border-radius: 2px;
        padding: 1px;
    }
    .unit .compare-checkbox {
        width: 9px;
        height: 9px;
    }
    .unit .accredited-check {
        font-size: 8px;
    }
    .empty-unit {
        font-size: 7px;
        min-height: 40px;
        border-radius: 2px;
    }
}

/* Zeer kleine telefoons */
@media (max-width: 480px) {
    .flat {
        grid-template-columns: repeat(14, minmax(30px, 40px)) !important;
        grid-auto-rows: minmax(35px, 45px) !important;
        gap: 1px !important;
        padding: 1px;
    }
    .unit {
        font-size: 6px;
        padding: 1px 0px;
        min-height: 32px;
        border-radius: 2px;
        line-height: 1;
    }
    .unit .select-overlay {
        width: 11px;
        height: 11px;
        top: 1px;
        right: 1px;
        border-radius: 2px;
        padding: 1px;
    }
    .unit .compare-checkbox {
        width: 7px;
        height: 7px;
    }
    .unit .accredited-check {
        font-size: 6px;
    }
    .empty-unit {
        font-size: 6px;
        min-height: 32px;
        border-radius: 2px;
    }
}

/* ============================================================
   GEBOUWTOTALEN - ONLY!
   ============================================================ */
.info-under-model {
    background: #f0f8ff;
    border: 1px solid #4CAF50;
    border-radius: 8px;
    padding: 10px;
    margin-top: 15px;
    font-size: 0.9em;
}

/* DRIG UITLEG - GEEN BLAUWE ACHTERGROND */
.drig-uitleg-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #dee2e6;
}

.drig-uitleg-section h3 {
    color: #1976d2;
}

.drig-uitleg-section p {
    color: #666;
    font-size: 14px;
}

/* DRIG UITLEG CARDS - GEEN BLAUWE ACHTERGROND */
.drig-uitleg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 15px 0;
}

.drig-uitleg-card {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
}

.drig-uitleg-card h4 {
    color: #1976d2;
    margin-top: 0;
}

.drig-uitleg-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.drig-uitleg-card ul li {
    padding: 5px 0;
}

.drig-uitleg-card ul li strong {
    display: block;
}

.drig-uitleg-card ul li span {
    font-size: 12px;
    color: #666;
}

/* DRIG WHY - GROENE BALK */
.drig-why {
    background: #e8f5e9;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #4caf50;
}

.drig-why h4 {
    color: #2e7d32;
    margin-top: 0;
}

.drig-why ul {
    margin: 0;
    padding-left: 20px;
}

/* ============================================================
   LOGIN BLOK - GEEN BLAUWE ACHTERGROND
   ============================================================ */
.login-block-onder {
    margin-top: 30px;
    padding: 20px 25px;
    background: #fef9e7;
    border: 1px solid #f39c12;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.login-block-onder.login-success {
    background: #e8f5e9;
    border-color: #4caf50;
}

.login-block-onder .login-message {
    display: flex;
    align-items: center;
    gap: 12px;
}

.login-block-onder .login-message .lock-icon {
    font-size: 28px;
}

.login-block-onder .login-message p {
    margin: 0;
    font-size: 15px;
    color: #856404;
}

.login-block-onder.login-success .login-message p {
    color: #2e7d32;
}

.login-block-onder .login-message p strong {
    color: #b9770e;
}

.login-block-onder.login-success .login-message p strong {
    color: #1b5e20;
}

.login-block-onder .login-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
}

.login-block-onder .login-btn:hover {
    background: #388E3C;
}

/* ============================================================
   FOOTER - GEEN BLAUWE ACHTERGROND
   ============================================================ */
.drig-footer {
    margin-top: 40px;
    padding: 30px 20px 20px;
    background: #1a237e;
    color: #f0f0f0;
    border-radius: 12px 12px 0 0;
}

.drig-footer .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.drig-footer .footer-grid h4 {
    color: #ffb74d;
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 16px;
}

.drig-footer .footer-grid p,
.drig-footer .footer-grid li {
    font-size: 13px;
    line-height: 1.6;
    color: #cfd8dc;
}

.drig-footer .footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.drig-footer .footer-grid ul li {
    padding: 4px 0;
}

.drig-footer .footer-grid a {
    color: #ffb74d;
    text-decoration: none;
}

.drig-footer .footer-grid a:hover {
    text-decoration: underline;
}

.drig-footer .footer-bottom {
    text-align: center;
    border-top: 1px solid #3e4a8e;
    padding-top: 18px;
    margin-top: 25px;
    font-size: 12px;
    color: #9ea7c7;
}

.drig-footer .contact-form input,
.drig-footer .contact-form textarea {
    width: 100%;
    padding: 8px 12px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: 1px solid #3e4a8e;
    background: #0d1445;
    color: #fff;
    font-size: 13px;
}

.drig-footer .contact-form input::placeholder,
.drig-footer .contact-form textarea::placeholder {
    color: #7a85b0;
}

.drig-footer .contact-form button {
    background: #ffb74d;
    color: #1a237e;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.drig-footer .contact-form button:hover {
    background: #ffa726;
}

/* Responsive footer */
@media (max-width: 700px) {
    .drig-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .login-block-onder {
        flex-direction: column;
        text-align: center;
    }
}


    /* De donkere achtergrond (overlay) */
    .drig-modal-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(6px);
        z-index: 9999;
        justify-content: center;
        align-items: center;
        animation: fadeIn 0.3s ease-in-out;
    }

    /* De pop-up box zelf */
    .drig-modal-box {
        background: linear-gradient(145deg, #1e2a3a, #15202b);
        border-radius: 24px;
        max-width: 720px;
        width: 92%;
        max-height: 90vh;
        overflow-y: auto;
        padding: 40px 35px;
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
        border: 1px solid rgba(255, 255, 255, 0.08);
        position: relative;
        animation: slideUp 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    }

    /* Sluitknop (X) */
    .drig-modal-close {
        position: absolute;
        top: 18px;
        right: 24px;
        font-size: 28px;
        color: #78909c;
        cursor: pointer;
        transition: 0.2s;
        background: none;
        border: none;
        line-height: 1;
    }
    .drig-modal-close:hover {
        color: #ffb74d;
        transform: rotate(90deg);
    }

    /* Typografie in de modal */
    .drig-modal-box h2 {
        font-size: 28px;
        font-weight: 700;
        color: #ffffff;
        margin-top: 0;
        margin-bottom: 8px;
        letter-spacing: -0.5px;
    }
    .drig-modal-box .drig-subtitle {
        font-size: 15px;
        color: #ffb74d;
        font-weight: 500;
        margin-bottom: 28px;
        border-bottom: 1px solid rgba(255, 183, 77, 0.2);
        padding-bottom: 14px;
    }
    .drig-modal-box h3 {
        font-size: 17px;
        font-weight: 600;
        color: #ffb74d;
        margin-top: 28px;
        margin-bottom: 8px;
    }
    .drig-modal-box p {
        font-size: 15px;
        line-height: 1.7;
        color: #cfd8dc;
        margin: 6px 0 12px 0;
    }
    .drig-modal-box ul {
        list-style: none;
        padding: 0;
        margin: 10px 0 16px 0;
    }
    .drig-modal-box ul li {
        font-size: 15px;
        line-height: 1.6;
        color: #cfd8dc;
        padding: 8px 0 8px 32px;
        background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="%23ffb74d" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') left center no-repeat;
        background-size: 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }
    .drig-modal-box ul li:last-child {
        border-bottom: none;
    }

    /* De 3 stappen in een grid */
    .drig-stappen-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 14px;
        margin: 18px 0 12px 0;
    }
    .drig-stap {
        background: rgba(255, 255, 255, 0.04);
        border-radius: 14px;
        padding: 16px 14px;
        text-align: center;
        border: 1px solid rgba(255, 255, 255, 0.06);
    }
    .drig-stap .stap-icon {
        font-size: 28px;
        display: block;
        margin-bottom: 6px;
    }
    .drig-stap .stap-label {
        font-size: 12px;
        font-weight: 600;
        color: #ffb74d;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    .drig-stap .stap-desc {
        font-size: 13px;
        color: #b0bec5;
        margin: 4px 0 0 0;
        line-height: 1.4;
    }

    /* De output-blokken */
    .drig-output-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 12px;
        margin: 12px 0 6px 0;
    }
    .drig-output-item {
        background: rgba(255, 183, 77, 0.08);
        border-radius: 12px;
        padding: 14px 12px;
        text-align: center;
        border-left: 3px solid #ffb74d;
    }
    .drig-output-item .out-icon {
        font-size: 22px;
    }
    .drig-output-item .out-title {
        font-size: 13px;
        font-weight: 600;
        color: #ffffff;
        margin: 4px 0 2px 0;
    }
    .drig-output-item .out-desc {
        font-size: 12px;
        color: #b0bec5;
        margin: 0;
    }

    /* Animations */
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    @keyframes slideUp {
        from { transform: translateY(40px); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }

    /* Scrollbar styling */
    .drig-modal-box::-webkit-scrollbar {
        width: 6px;
    }
    .drig-modal-box::-webkit-scrollbar-track {
        background: transparent;
    }
    .drig-modal-box::-webkit-scrollbar-thumb {
        background: #ffb74d;
        border-radius: 10px;
    }

    /* Mobiel */
    @media (max-width: 600px) {
        .drig-modal-box { padding: 28px 20px; }
        .drig-stappen-grid, .drig-output-grid {
            grid-template-columns: 1fr;
        }
        .drig-modal-box h2 { font-size: 22px; }
    }
