body {
    font-family: Arial, sans-serif;
    background: #f3f4f6;
    margin: 0;
}
#result{
    margin-bottom: 30px;
}
.scan-container {
    max-width: 1200px;
    width: 100%;
    margin: 30px auto 0 auto ;
    background: #ffffff;
    padding: 40px 50px;
    border-radius: 14px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.18);
    min-height: 500px;
}
#url{

}
.scan-sum {
    padding-top:10px;
    font-size: 10px;
}
#start {
    padding: 15px 43px 14px 43px;
    background-color: var(--accent);
    font-size: 18px;
    font-weight: 500;
    border-radius: 29px;
    color: var(--primary--color);
    display: inline-block;
    border: 0px;
    height: 49px;
    padding: 6px 0;
    width: 150px;    
}
.scan-header {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    padding:0 10px 30px 10px;
}
.scan-header h1 {
    font-size:24px!important;
    color:#2555E4!important;
}
#result h2 {
    margin-top:20px;
    font-size:14px!important;
    color:#2555E4!important;
}
#result p {
    font-size:14px!important;
    color:#000!important;
}

.scan-input {
    display: flex;
    gap: 10px;
    align-items: stretch; /* zelfde hoogte */
}

.scan-input input.form-control {
    height: 48px;
    width:400px;
    font-size: 16px;
}

.scan-input button {
    height: 48px;
    padding: 0 24px;
    border-radius: 24px;
    border: none;
    background-color: #00d5f5;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

button {
    padding: 8px 14px;
}

.loader {
    display: none;
    margin: 30px auto;
    width: 40px;
    height: 40px;
    border: 5px solid #ddd;
    border-top: 5px solid #555;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.scan-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.scan-card {
    background: #fff;
    padding: 18px;
    border-radius: 10px;
    border-left: 6px solid #ccc;
}

.scan-title {
    font-weight: bold;
}

.scan-status {
    margin-top: 8px;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
}

/* STATUS */
.ok { border-color: #22c55e; }
.ok .scan-status { background:#dcfce7; color:#166534; }

.warning { border-color:#facc15; }
.warning .scan-status { background:#fef9c3; color:#854d0e; }

.fault { border-color:#ef4444; }
.fault .scan-status { background:#fee2e2; color:#7f1d1d; }

.scan-section {
    background: #fff;
    border-radius: 12px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,td {
    border: 1px solid #ddd;
    padding: 8px;
}

th {
    background: #f1f5f9;
}
.scan-legend {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.legend-item {
    flex: 1;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
}

.legend-item.ok {
    background: #e6f6ea;
    border: 1px solid #7bcf95;
}

.legend-item.warning {
    background: #fff6e5;
    border: 1px solid #f0c36d;
}

.legend-item.fault {
    background: #fdeaea;
    border: 1px solid #e28a8a;
}
.count-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
}

.count-badge.ok {
    background-color: #e6f6ea;
    color: #2f7a3e;
}

.count-badge.warning {
    background-color: #fff6e5;
    color: #8a6d1d;
}

.count-badge.fault {
    background-color: #fdeaea;
    color: #8a2b2b;
}
.span_bottom {
    position: absolute;
    bottom: 0px;
    margin-left: -30px;
    font-size: 10px;
    font-family: monospace;
    font-style: italic;
    color: grey;
}
.result-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.28);
    border-color: #e2e8f0;
}
@media (max-width: 768px) {
    .result-card { padding: 30px 20px; }
    .result-card h2 { font-size: 1.3rem; }
}



/* Tabel basis */
.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table thead th {
    box-shadow:
        inset 0 1px 0 #ffffff,
        inset 0 -1px 0 #d0d0d0;
}

.info-table thead th:first-child {
    border-top-left-radius: 4px;
}

.info-table thead th:last-child {
    border-top-right-radius: 4px;
}

.info-table td {
    padding: 8px;
    border-top: 1px solid #ccc;
}

.toggle-row th {
    cursor: pointer;
    user-select: none;
}

.toggle-content {
    display: none;
    padding: 10px;
    border: 1px solid #ccc;
    border-top: none;
    margin-bottom: 20px;
}
.arrow {
    margin:5px 10px 0;
    width: 10px;
    height: 10px;

    border-right: 2px solid #333;
    border-bottom: 2px solid #333;

    display: inline-block;
    float: right;

    transform: rotate(45deg);      /* gesloten: naar beneden */
    transition: transform 0.2s ease;
}

.scan-section.is-open .arrow {
    transform: rotate(225deg);     /* open: naar boven */
}


