/* Algemene body-styling */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #23272a 0%, #181a1b 100%);
    color: #f1f1f1;
    margin: 0;
    min-height: 100vh;
    box-sizing: border-box;
}

/* Navigatiebalk */
nav {
    background: #23272aee;
    padding: 0.5em 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    position: sticky;
    top: 0;
    z-index: 10;
}
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2em;
    margin: 0;
    padding: 0;
}
nav a {
    color: #f1f1f1;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1em;
    letter-spacing: 0.5px;
    padding: 0.3em 0.7em;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
nav a:hover, nav a:focus {
    background: #ff5252;
    color: #fff;
    box-shadow: 0 2px 8px rgba(255,82,82,0.15);
}

nav.topbar-menu {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
}
nav.topbar-menu ul {
    list-style: none;
    display: flex;
    gap: 2em;
    margin: 0;
    padding: 0;
}
nav.topbar-menu a {
    color: #f1f1f1;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05em;
    letter-spacing: 0.5px;
    padding: 0.2em 0.7em;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    display: block;
}
nav.topbar-menu a:hover, nav.topbar-menu a:focus {
    background: #ffb74d;
    color: #222;
    box-shadow: 0 2px 8px rgba(255,183,77,0.15);
}
nav.topbar-menu a.active {
    background: #ffb74d;
    color: #222;
    box-shadow: 0 2px 8px rgba(255,183,77,0.15);
}

/* Main content */
main {
    max-width: 800px;
    margin: 2.5em auto;
    background: #23272aee;
    padding: 2em 2.5em;
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(0,0,0,0.18);
    text-align: center;
    animation: fadeIn 0.7s;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

h1 {
    margin-bottom: 1.2em;
    font-size: 2.1em;
    font-weight: 700;
    letter-spacing: 1px;
}

/* SFTP info blok */
.sftp-info-block {
    background: #23272a;
    color: #fff;
    padding: 1.2em 1.5em;
    border-radius: 10px;
    margin-bottom: 1.5em;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Algemene voorwaarden blok: tekst wit, links geel */
.sftp-info-block {
    color: #fff;
}
.sftp-info-block a {
    color: #ffb74d;
    text-decoration: underline;
}

/* SFTP hoofdblok */
.file-browser-outer {
    background: #32363c;
    border-radius: 14px;
    padding: 2em 2em 1em 2em;
    margin-bottom: 2.2em;
    box-shadow: 0 4px 24px rgba(0,0,0,0.13);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Main content wrapper */
.main-content {
    max-width: 800px;
    margin: 2.5em auto;
    background: #23272aee;
    padding: 2em 2.5em;
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(0,0,0,0.18);
    text-align: center;
    animation: fadeIn 0.7s;
}

/* SFTP/VPN knoppen altijd geel */
.vpn-button.download {
    background-color: #ffb74d !important;
    color: #222 !important;
    border-radius: 14px;
    padding: 18px 36px;
    font-size: 1.25em;
    font-weight: bold;
    box-shadow: none;
    border: none;
    text-shadow: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.vpn-button.download:hover, .vpn-button.download:focus {
    background: #ffd77a !important;
    color: #222 !important;
    transform: translateY(-2px) scale(1.03);
}

/* SFTP/VPN titels */
.vpn-main-title, .vpn-title {
    color: #ffb74d;
    text-align: center;
    margin-bottom: 1em;
}

/* Formulieren */
form {
    display: flex;
    flex-direction: column;
    gap: 1.1em;
    margin-bottom: 1.5em;
}
label {
    text-align: left;
    font-size: 1em;
    margin-bottom: 0.2em;
    color: #ffb74d;
    font-weight: 500;
}
input[type="url"], input[type="text"], input[type="email"], input[type="password"], input[type="number"] {
    padding: 0.8em;
    border-radius: 8px;
    border: 1.5px solid #2c2f33;
    font-size: 1em;
    background: #181a1b;
    color: #f1f1f1;
    transition: border 0.2s, box-shadow 0.2s;
    outline: none;
}
input[type="url"]:focus, input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus {
    border: 1.5px solid #ff5252;
    box-shadow: 0 0 0 2px rgba(255,82,82,0.12);
}

/* Verberg pijltjes (spinners) van het numerieke invoerveld voor een consistente look */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}

button {
    padding: 0.8em;
    border-radius: 8px;
    border: none;
    background: linear-gradient(90deg, #ffb74d 60%, #ffb74d 100%);
    color: #fff;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255,82,82,0.10);
    transition: background 0.2s, transform 0.1s;
}
button:hover, button:focus {
    background: linear-gradient(90deg, #ffb74d 60%, #ffb74d 100%);
    transform: translateY(-2px) scale(1.03);
}

/* Resultaat/foutmeldingen */
#result p {
    margin: 1em 0 0 0;
    font-size: 1.05em;
    color: #b0b3b8;
}
#result p[style*="color:red"] {
    color: #ffb74d !important;
    font-weight: 500;
}

/* Compacte topbar met links datum/tijd en rechts iconen */
.topbar {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.18em 1.2em 0.18em 1.2em;
    background: rgba(35,39,42,0.95);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 30;
    min-height: 36px;
    box-sizing: border-box;
}
nav.topbar-menu {
    position: absolute;
    left: 50%;
    top: 0;
    height: 100%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    z-index: 2;
}
nav.topbar-menu ul {
    list-style: none;
    display: flex;
    gap: 2em;
    margin: 0;
    padding: 0;
}
nav.topbar-menu a {
    color: #f1f1f1;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05em;
    letter-spacing: 0.5px;
    padding: 0.2em 0.7em;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    display: block;
}
.datetime-bar.left {
    color: #b0b3b8;
    font-size: 1em;
    font-family: 'Segoe UI', Arial, sans-serif;
    letter-spacing: 0.5px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    user-select: none;
    text-align: left;
    margin: 0;
}
.topbar-actions.right {
    display: flex;
    gap: 0.3em;
    align-items: center;
    justify-content: flex-end;
    margin-right: 0.5em;
    margin-left: auto;
}
@media (max-width: 600px) {
    .topbar-actions.right {
        margin-right: 0.2em;
    }
}
.icon-btn {
    background: none;
    border: none;
    padding: 0.18em;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.18s;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    height: 32px;
    width: 32px;
}
.icon-btn svg {
    display: block;
    width: 20px;
    height: 20px;
    transition: stroke 0.2s;
}
.icon-btn:hover, .icon-btn:focus {
    background: #ffb74d;
}
.icon-btn:hover svg, .icon-btn:focus svg {
    stroke: #222;
}
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 110%;
    right: 0;
    min-width: 140px;
    background: #23272a;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    padding: 0.3em 0;
    z-index: 100;
    margin-top: 0.2em;
    border: 1px solid #23272a;
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.dropdown-menu li {
    list-style: none;
}
.dropdown-menu, .account-menu {
    font-weight: 600;
}
.dropdown-item, .login-form input, .login-form button, .account-register-text {
    font-weight: 600;
}
.dropdown-menu,
.account-menu {
    display: none !important;
}
.dropdown.open > .dropdown-menu,
.dropdown.open > ul.dropdown-menu,
.dropdown.open > .account-menu {
    display: block !important;
    animation: fadeInMenu 0.18s;
}
@keyframes fadeInMenu {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.dropdown-item {
    width: 100%;
    background: none;
    border: none;
    color: #f1f1f1;
    text-decoration: none;
    text-align: left;
    font-size: 1em;
    padding: 0.6em 1.2em;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    border-radius: 0;
    font-family: inherit;
    outline: none;
}
.dropdown-item:hover, .dropdown-item:focus {
    background: #ffb74d;
    color: #222;
    text-decoration: none;
}
.dropdown-item.active {
    background: #ffb74d;
    color: #222;
}
@media (max-width: 600px) {
    .topbar {
        padding: 0.18em 0.2em 0.18em 0.2em;
        min-height: 32px;
    }
    .datetime-bar.left {
        font-size: 0.93em;
    }
    .icon-btn {
        height: 32px;
        width: 32px;
        min-width: 32px;
        min-height: 32px;
        padding: 0.12em;
    }
    .icon-btn svg {
        width: 18px;
        height: 18px;
    }
    nav.topbar-menu ul {
        gap: 0.5em;
    }
    nav.topbar-menu a {
        font-size: 0.95em;
        padding: 0.12em 0.3em;
    }
    .server-status {
        padding: 0.7em 0.1em 1em 0.1em;
        max-width: 99vw;
        min-width: 0;
    }
    .server-status h2 {
        font-size: 1.08em;
    }
    .server-status li {
        font-size: 0.97em;
        padding: 0.35em 0.3em;
        gap: 0.4em;
    }
    .server-icoon {
        width: 1em;
        height: 1em;
        margin-right: 0.3em;
    }
    .vpn-warning {
        font-size: 0.93em;
        padding: 0.5em 0.5em;
    }
    h1 {
        font-size: 1.2em;
        margin-bottom: 0.7em;
    }
    .dropdown-menu {
        min-width: 110px;
        right: 0;
        left: auto;
    }
    .dropdown-item {
        font-size: 0.97em;
        padding: 0.5em 0.7em;
    }
}

/* Responsiviteit */
@media (max-width: 600px) {
    main {
        padding: 1em 0.5em;
        max-width: 98vw;
    }
    nav ul {
        gap: 1em;
    }
    h1 {
        font-size: 1.3em;
    }
    button, input[type="url"] {
        font-size: 1em;
    }
}

.server-status {
    margin: 2em auto 0 auto;
    background: #23272aee;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.13);
    padding: 1.2em 1.5em 1.5em 1.5em;
    max-width: 420px;
    text-align: left;
}
.server-status h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 1em;
    font-size: 1.3em;
    color: #ffb74d;
    letter-spacing: 0.5px;
}
/* Forceer verticale statuslijst en sublijst */
.server-status ul {
    display: block;
    padding: 0;
    margin: 0;
}
.server-status li {
    display: block;
    margin-bottom: 0.7em;
}
.server-status ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.server-status li {
    display: flex;
    align-items: center;
    gap: 0.7em;
    font-size: 1.08em;
    margin-bottom: 0.7em;
    background: #181a1b;
    border-radius: 7px;
    padding: 0.5em 0.9em;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    min-height: 3.2em;
    height: 3.2em;
    line-height: 1.2;
    flex-wrap: nowrap;
    white-space: nowrap;
    justify-content: flex-start;
}
.server-status li:last-child {
    margin-bottom: 0;
}
.server-status li .status-icon {
    margin-left: auto;
    margin-right: 0;
    min-width: 2.2em;
    text-align: right;
}
.server-status li .status-icon.offline {
    font-size: 1em;
    display: inline-block;
    vertical-align: middle;
    margin-left: auto;
    margin-right: 0;
    text-shadow: 0 0 4px #ff5252aa;
    color: #ff5252;
    font-weight: 500;
}
.server-status li .status-icon.offline span, .server-status li .status-icon.online span {
    font-size: 1em;
    display: inline;
    margin: 0;
    padding: 0;
}
.server-status li .status-working {
    color: #ffb74d;
    text-shadow: 0 0 4px #ffb74daa;
    font-weight: 500;
}
.server-icoon {
    vertical-align: middle;
    margin-right: 0.5em;
    margin-left: 0.1em;
    margin-bottom: 0.1em;
    width: 1.2em;
    height: 1.2em;
    display: inline-block;
}
@media (max-width: 600px) {
    .server-status li {
        font-size: 0.97em;
        padding: 0.35em 0.3em;
        gap: 0.4em;
        min-height: 2.5em;
        height: 2.5em;
    }
    .server-icoon {
        width: 1em;
        height: 1em;
        margin-right: 0.3em;
    }
}

/* Substatuslijst onder Webserver verticaal tonen - fix met !important */
.server-status ul ul li {
    display: block !important;
    background: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin: 0.1em 0 0.1em 0 !important;
    padding: 0.2em 0 0.2em 0.2em !important;
    font-size: 0.97em !important;
    opacity: 0.85 !important;
    min-height: unset !important;
    height: unset !important;
    align-items: unset !important;
    gap: unset !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    justify-content: flex-start !important;
}
/* Einde substatus fix */

.vpn-warning {
    margin-top: 1em;
    background: #2c2f33;
    color: #ffb74d;
    border-left: 4px solid #ff5252;
    padding: 0.7em 1em;
    border-radius: 7px;
    font-size: 0.98em;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

.account-menu {
    min-width: 220px;
    padding: 1em 1.2em 0.7em 1.2em;
    background: #23272a;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    border: 1px solid #23272a;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.7em;
}
.login-form {
    display: flex;
    flex-direction: column;
    gap: 0.6em;
}
.login-form input[type="text"],
.login-form input[type="password"] {
    padding: 0.6em 0.8em;
    border-radius: 7px;
    border: 1.5px solid #2c2f33;
    background: #181a1b;
    color: #f1f1f1;
    font-size: 1em;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
}
.login-form input[type="text"]:focus,
.login-form input[type="password"]:focus {
    border: 1.5px solid #ff5252;
    box-shadow: 0 0 0 2px rgba(255,82,82,0.12);
}
.login-form button[type="submit"] {
    margin-top: 0.2em;
    padding: 0.7em;
    border-radius: 8px;
    border: none;
    background: linear-gradient(90deg, #ff5252 60%, #ff7979 100%);
    color: #fff;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}
.login-form button[type="submit"]:hover,
.login-form button[type="submit"]:focus {
    background: linear-gradient(90deg, #ff7979 60%, #ff5252 100%);
    transform: translateY(-2px) scale(1.03);
}
.account-register-text {
    margin-top: 0.5em;
    color: #ffb74d;
    font-size: 0.98em;
    text-align: center;
    font-weight: 500;
}
.register-link {
    color: #ffd700;
    text-decoration: underline;
    font-weight: bold;
}
.register-link:hover {
    color: #fff;
    text-decoration: underline;
}
@media (max-width: 600px) {
    .account-menu {
        min-width: 160px;
        padding: 0.7em 0.5em 0.5em 0.5em;
    }
    .login-form input[type="text"],
    .login-form input[type="password"] {
        font-size: 0.97em;
        padding: 0.5em 0.5em;
    }
    .login-form button[type="submit"] {
        font-size: 0.97em;
        padding: 0.5em;
    }
    .account-register-text {
        font-size: 0.93em;
    }
}

.register-form {
    max-width: 400px;
    margin: 2em auto;
    background: #23272aee;
    padding: 2em 2em 1.5em 2em;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    gap: 1em;
}
.register-form label {
    text-align: left;
    font-size: 1em;
    color: #ff5252;
    font-weight: 600;
    margin-bottom: 0.2em;
}
.register-form input[type="text"],
.register-form input[type="email"],
.register-form input[type="password"],
.register-form input[type="number"],
.register-form input[type="tel"],
.register-form textarea {
    padding: 0.8em;
    border-radius: 8px;
    border: 1.5px solid #2c2f33;
    font-size: 1em;
    background: #181a1b;
    color: #f1f1f1;
    transition: border 0.2s, box-shadow 0.2s;
    outline: none;
}
.register-form input:focus,
.register-form textarea:focus {
    border: 1.5px solid #ff5252;
    box-shadow: 0 0 0 2px rgba(255,82,82,0.12);
}
.register-form button[type="submit"] {
    margin-top: 0.5em;
    padding: 0.8em;
    border-radius: 8px;
    border: none;
    background: linear-gradient(90deg, #ff5252 60%, #ff7979 100%);
    color: #fff;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255,82,82,0.10);
    transition: background 0.2s, transform 0.1s;
}
.register-form button[type="submit"]:hover,
.register-form button[type="submit"]:focus {
    background: linear-gradient(90deg, #ff7979 60%, #ff5252 100%);
    transform: translateY(-2px) scale(1.03);
}

@media (max-width: 600px) {
    .register-form {
        padding: 1em 0.5em 1em 0.5em;
        max-width: 98vw;
    }
    .register-form label {
        font-size: 0.97em;
    }
    .register-form input,
    .register-form button[type="submit"] {
        font-size: 0.97em;
    }
}

.datetime-bar-bottom {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    background: rgba(35,39,42,0.97);
    color: #b0b3b8;
    font-size: 1.05em;
    font-family: 'Segoe UI', Arial, sans-serif;
    letter-spacing: 0.5px;
    padding: 0.5em 0;
    text-align: center;
    z-index: 100;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
    user-select: none;
}
@media (max-width: 600px) {
    .datetime-bar-bottom {
        font-size: 0.93em;
        padding: 0.3em 0;
    }
}

.register-intro {
    text-align: center;
    color: #b0b3b8;
    font-size: 1.08em;
    margin-bottom: 1.2em;
    margin-top: 0.2em;
    font-weight: 500;
}

.register-errors {
    background: #2c2f33;
    color: #ff5252;
    border-left: 4px solid #ff5252;
    padding: 0.7em 1em;
    border-radius: 7px;
    font-size: 1em;
    margin-bottom: 1.2em;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.register-errors ul {
    margin: 0;
    padding-left: 1.2em;
}
.register-success {
    background: #23272a;
    color: #4caf50;
    border-left: 4px solid #4caf50;
    padding: 0.7em 1em;
    border-radius: 7px;
    font-size: 1.05em;
    margin-bottom: 1.2em;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    text-align: center;
    font-weight: 600;
}
.login-greeting {
    color: #fff;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.5em;
}
.username-white {
    color: #fff;
}
.account-btn-menu {
    display: block;
    width: 100%;
    background: #2c2f33; /* Was #23272a */
    color: #fff; /* Was #ffb74d */
    text-align: center;
    padding: 0.6em 0;
    border: none;
    border-radius: 6px;
    margin: 0.5em 0 0.5em 0;
    font-size: 1em;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.account-btn-menu:hover {
    background: #4f545c; /* Neutral dark grey hover */
    color: #fff;
}
.logout-btn {
    display: block;
    width: 100%;
    margin: 0.5em 0 0 0;
    background: #2c2f33;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.6em 0;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.logout-btn:hover {
    background: #ff4d4d;
    color: #fff;
}

.toast {
    position: fixed;
    top: 2.5em;
    left: 50%;
    transform: translateX(-50%);
    background: #23272a;
    color: #ff5252;
    border-left: 5px solid #ff5252;
    padding: 1em 2em;
    border-radius: 10px;
    font-size: 1.08em;
    font-weight: 600;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, top 0.3s;
}
.toast.show {
    opacity: 1;
    pointer-events: auto;
    top: 4em;
}
.toast.success {
    color: #4caf50;
    border-left: 5px solid #4caf50;
    background: #23272a;
}
@media (max-width: 600px) {
    .toast {
        font-size: 0.97em;
        padding: 0.7em 0.7em;
        min-width: 120px;
        max-width: 90vw;
    }
}

.vpn-content-box {
    background: #2c2f33;
    padding: 1.5em 2em;
    border-radius: 12px;
    text-align: center;
    margin-top: 1.5em;
}

.vpn-actions {
    display: flex;
    justify-content: center;
    gap: 1em;
    margin-top: 1.5em;
}

.vpn-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.vpn-button.qr {
    background-color: #4caf50;
    color: #fff;
}

.vpn-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* File browser styling */
.file-browser {
    background: #292d32;
    border-radius: 10px;
    padding: 1.2em 1.5em;
    margin-bottom: 1.5em;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    max-width: 520px;
}
.file-browser ul {
    margin: 0;
    padding: 0;
}
.file-browser li {
    margin-bottom: 0.4em;
    font-size: 1.1em;
    display: flex;
    align-items: center;
}
.file-browser a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 0.4em;
    transition: color 0.2s;
}
.file-browser a:hover {
    color: #ffd700;
    text-decoration: underline;
}
.file-browser .back-link {
    display: inline-block;
    margin-bottom: 0.7em;
    color: #fff;
    font-size: 1em;
    text-decoration: none;
    font-weight: 500;
}
.file-browser .back-link:hover {
    color: #ffd700;
    text-decoration: underline;
} 

.upload-form {
    display: flex;
    align-items: center;
    gap: 1em;
    margin-bottom: 1em;
}
.upload-form input[type="file"] {
    color: #fff;
    background: #23272a;
    border: 1.5px solid #292d32;
    border-radius: 7px;
    padding: 0.5em 0.7em;
    font-size: 1em;
}
.upload-form button {
    background: linear-gradient(90deg, #ffd700 60%, #ffb74d 100%);
    color: #23272a;
    border: none;
    border-radius: 7px;
    padding: 0.5em 1.2em;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.upload-form button:hover {
    background: linear-gradient(90deg, #ffb74d 60%, #ffd700 100%);
    color: #181a1b;
}
.drop-area {
    background: #23272a;
    border: 2px dashed #ffd700;
    border-radius: 10px;
    color: #ffd700;
    text-align: center;
    padding: 1.1em 0.5em;
    margin-bottom: 1.2em;
    font-size: 1.08em;
    transition: background 0.2s, border-color 0.2s;
}
.drop-area.dragover {
    background: #292d32;
    border-color: #fff;
    color: #fff;
} 

/* Responsiviteit */
@media (max-width: 600px) {
    .register-form {
        padding: 1em 0.5em 1em 0.5em;
        max-width: 98vw;
    }
    .register-form label {
        font-size: 0.97em;
    }
    .register-form input,
    .register-form button[type="submit"] {
        font-size: 0.97em;
    }
}

/* App Download Sectie */
.app-download-section {
    max-width: 900px;
    margin: 2em auto;
    background: #23272a;
    padding: 1.5em 2em;
    border-radius: 12px;
}

.app-download-section h2 {
    text-align: center;
    color: #ffb74d;
    margin-top: 0;
}

.app-grid {
    display: flex;
    gap: 2em;
    flex-wrap: wrap;
    justify-content: center;
}

.app-item {
    background: #2c2f33;
    padding: 1.5em 1em;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    text-decoration: none;
    color: inherit;
    flex: 1 1 220px;
    max-width: 260px;
}

.app-item:hover {
    transform: translateY(-5px);
    background-color: #36393e;
}

.os-logo {
    width: 3em;
    height: 3em;
    fill: #f1f1f1;
}

.app-item h3 {
    margin: 0;
    color: #f1f1f1;
}

.app-item img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
} 

.user-dropdown-menu .user-info {
    padding: 10px 15px;
    border-bottom: 1px solid #4f545c;
}

.user-dropdown-menu .user-info p {
    margin: 0;
    color: #ffffff; /* Was #4CAF50, now white */
    font-weight: bold;
}

.user-dropdown-item {
    display: block;
} 

/* Account Page Styling */
.account-forms-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2em;
    max-width: 900px;
    margin: 2em auto;
}

@media (min-width: 768px) {
    .account-forms-container {
        grid-template-columns: 1fr 1fr;
    }
}

.form-container h2 {
    color: #ffb74d;
    margin-bottom: 1em;
    text-align: center;
}

.info-message {
    font-size: 0.9em;
    color: #99aab5;
    text-align: center;
    margin-top: -0.5em;
    margin-bottom: 1em;
} 

/* File browser styling */
.file-browser {
    background: #292d32;
    border-radius: 10px;
    padding: 1.2em 1.5em;
    margin-bottom: 1.5em;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    max-width: 520px;
}
.file-browser ul {
    margin: 0;
    padding: 0;
}
.file-browser li {
    margin-bottom: 0.4em;
    font-size: 1.1em;
    display: flex;
    align-items: center;
}
.file-browser a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 0.4em;
    transition: color 0.2s;
}
.file-browser a:hover {
    color: #ffd700;
    text-decoration: underline;
}
.file-browser .back-link {
    display: inline-block;
    margin-bottom: 0.7em;
    color: #fff;
    font-size: 1em;
    text-decoration: none;
    font-weight: 500;
}
.file-browser .back-link:hover {
    color: #ffd700;
    text-decoration: underline;
} 

.file-browser-outer {
    background: #32363c;
    border-radius: 14px;
    padding: 2em 2em 1em 2em;
    margin-bottom: 2.2em;
    box-shadow: 0 4px 24px rgba(0,0,0,0.13);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
} 

.upload-form {
    display: flex;
    align-items: center;
    gap: 1em;
    margin-bottom: 1em;
}
.upload-form input[type="file"] {
    color: #fff;
    background: #23272a;
    border: 1.5px solid #292d32;
    border-radius: 7px;
    padding: 0.5em 0.7em;
    font-size: 1em;
}
.upload-form button {
    background: linear-gradient(90deg, #ffd700 60%, #ffb74d 100%);
    color: #23272a;
    border: none;
    border-radius: 7px;
    padding: 0.5em 1.2em;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.upload-form button:hover {
    background: linear-gradient(90deg, #ffb74d 60%, #ffd700 100%);
    color: #181a1b;
}
.drop-area {
    background: #23272a;
    border: 2px dashed #ffd700;
    border-radius: 10px;
    color: #ffd700;
    text-align: center;
    padding: 1.1em 0.5em;
    margin-bottom: 1.2em;
    font-size: 1.08em;
    transition: background 0.2s, border-color 0.2s;
}
.drop-area.dragover {
    background: #292d32;
    border-color: #fff;
    color: #fff;
} 

/* Responsiviteit */
@media (max-width: 600px) {
    .register-form {
        padding: 1em 0.5em 1em 0.5em;
        max-width: 98vw;
    }
    .register-form label {
        font-size: 0.97em;
    }
    .register-form input,
    .register-form button[type="submit"] {
        font-size: 0.97em;
    }
}

/* App Download Sectie */
.app-download-section {
    max-width: 900px;
    margin: 2em auto;
    background: #23272a;
    padding: 1.5em 2em;
    border-radius: 12px;
}

.app-download-section h2 {
    text-align: center;
    color: #ffb74d;
    margin-top: 0;
}

.app-grid {
    display: flex;
    gap: 2em;
    flex-wrap: wrap;
    justify-content: center;
}

.app-item {
    background: #2c2f33;
    padding: 1.5em 1em;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    text-decoration: none;
    color: inherit;
    flex: 1 1 220px;
    max-width: 260px;
}

.app-item:hover {
    transform: translateY(-5px);
    background-color: #36393e;
}

.os-logo {
    width: 3em;
    height: 3em;
    fill: #f1f1f1;
}

.app-item h3 {
    margin: 0;
    color: #f1f1f1;
}

.app-item img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
} 

.user-dropdown-menu .user-info {
    padding: 10px 15px;
    border-bottom: 1px solid #4f545c;
}

.user-dropdown-menu .user-info p {
    margin: 0;
    color: #ffffff; /* Was #4CAF50, now white */
    font-weight: bold;
}

.user-dropdown-item {
    display: block;
} 

/* Account Page Styling */
.account-forms-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2em;
    max-width: 900px;
    margin: 2em auto;
}

@media (min-width: 768px) {
    .account-forms-container {
        grid-template-columns: 1fr 1fr;
    }
}

.form-container h2 {
    color: #ffb74d;
    margin-bottom: 1em;
    text-align: center;
}

.info-message {
    font-size: 0.9em;
    color: #99aab5;
    text-align: center;
    margin-top: -0.5em;
    margin-bottom: 1em;
} 

/* File browser styling */
.file-browser {
    background: #292d32;
    border-radius: 10px;
    padding: 1.2em 1.5em;
    margin-bottom: 1.5em;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    max-width: 520px;
}
.file-browser ul {
    margin: 0;
    padding: 0;
}
.file-browser li {
    margin-bottom: 0.4em;
    font-size: 1.1em;
    display: flex;
    align-items: center;
}
.file-browser a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 0.4em;
    transition: color 0.2s;
}
.file-browser a:hover {
    color: #ffd700;
    text-decoration: underline;
}
.file-browser .back-link {
    display: inline-block;
    margin-bottom: 0.7em;
    color: #fff;
    font-size: 1em;
    text-decoration: none;
    font-weight: 500;
}
.file-browser .back-link:hover {
    color: #ffd700;
    text-decoration: underline;
} 

.file-browser-outer {
    background: #32363c;
    border-radius: 14px;
    padding: 2em 2em 1em 2em;
    margin-bottom: 2.2em;
    box-shadow: 0 4px 24px rgba(0,0,0,0.13);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
} 

.upload-form {
    display: flex;
    align-items: center;
    gap: 1em;
    margin-bottom: 1em;
}
.upload-form input[type="file"] {
    color: #fff;
    background: #23272a;
    border: 1.5px solid #292d32;
    border-radius: 7px;
    padding: 0.5em 0.7em;
    font-size: 1em;
}
.upload-form button {
    background: linear-gradient(90deg, #ffd700 60%, #ffb74d 100%);
    color: #23272a;
    border: none;
    border-radius: 7px;
    padding: 0.5em 1.2em;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.upload-form button:hover {
    background: linear-gradient(90deg, #ffb74d 60%, #ffd700 100%);
    color: #181a1b;
}
.drop-area {
    background: #23272a;
    border: 2px dashed #ffd700;
    border-radius: 10px;
    color: #ffd700;
    text-align: center;
    padding: 1.1em 0.5em;
    margin-bottom: 1.2em;
    font-size: 1.08em;
    transition: background 0.2s, border-color 0.2s;
}
.drop-area.dragover {
    background: #292d32;
    border-color: #fff;
    color: #fff;
} 

/* Responsiviteit */
@media (max-width: 600px) {
    .register-form {
        padding: 1em 0.5em 1em 0.5em;
        max-width: 98vw;
    }
    .register-form label {
        font-size: 0.97em;
    }
    .register-form input,
    .register-form button[type="submit"] {
        font-size: 0.97em;
    }
}

/* VPN Status Container Styling */
.vpn-status-container {
    background: #2c2f33;
    padding: 1.5em 2em;
    border-radius: 12px;
    margin-top: 2em;
    margin-bottom: 2em;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.vpn-status-container h2 {
    text-align: center;
    color: #ffb74d;
    margin-top: 0;
    margin-bottom: 1em;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1em;
}

.status-item {
    background: #23272a;
    padding: 1em;
    border-radius: 8px;
    display: flex;
    flex-direction: column; /* Zorgt voor verticale centrering */
    align-items: center; /* Centreert horizontaal */
    justify-content: center; /* Centreert verticaal */
    text-align: center; /* Centreert de tekst zelf */
    gap: 0.8em;
}

.status-content {
    display: flex;
    flex-direction: column;
    gap: 0.2em;
}

.icon {
    width: 1.5em; /* Iets groter voor betere balans */
    height: 1.5em;
    fill: #ffb74d;
    margin-top: 0.1em; /* Lijn icoon beter uit met de titel */
}

.status-item strong {
    color: #ffb74d;
}

.status-value {
    margin-top: 0.2em;
}

.status-text {
    /* Verwijder speciale kleuren en gewicht */
    color: inherit;
    font-weight: normal;
}

.data-usage .data-details {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    margin-top: 0.3em; /* Kleine ruimte onder de header */
}

.data-details span {
    display: flex;
    align-items: center;
    justify-content: center; /* Centreert de data-items */
    gap: 0.3em;
}

.arrow-icon {
    width: 1em;
    height: 1em;
    fill: #b0b3b8;
}

/* VPN container en access method */
.vpn-container {
    display: flex;
    gap: 2em;
    margin-top: 2em;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.vpn-access-method {
    background: #2c2f33;
    padding: 1.5em;
    border-radius: 12px;
    text-align: center;
    flex: 1 1 320px;
    min-width: 320px;
    max-width: 400px;
}
.qr-code-container {
    display: flex;
    justify-content: center;
}
.qr-code-container img {
    width: 220px;
    height: 220px;
    border-radius: 8px;
    background: white;
    padding: 10px;
    box-sizing: border-box;
}

/* VPN instructies */
.vpn-instructions {
    max-width: 900px;
    margin: 2em auto;
    background: #23272a;
    padding: 1.5em 2em;
    border-radius: 12px;
    text-align: left;
}
.vpn-instructions h2 {
    text-align: center;
    color: #ffb74d;
    margin-top: 0;
}
.platform-instructions {
    background: #2c2f33;
    padding: 1em 1.5em;
    border-radius: 10px;
    margin-bottom: 1em;
    text-align: center;
}
.platform-instructions:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}
.platform-instructions h3 {
    margin-top: 0;
    color: #ffb74d;
}

/* Responsive tweaks voor VPN/SFTP blokken */
@media (max-width: 900px) {
    .vpn-container {
        flex-direction: column;
        gap: 1em;
    }
    .vpn-access-method {
        min-width: 0;
        max-width: 100%;
    }
    .app-download-section {
        padding: 1em 0.5em;
    }
    .vpn-instructions {
        padding: 1em 0.5em;
    }
} 

/* Forceer submit-knoppen SFTP altijd geel */
.sftp-form button[type='submit'], .vpn-button.download {
    background: #ffb74d !important;
    color: #222 !important;
    border-radius: 14px;
    padding: 18px 36px;
    font-size: 1.25em;
    font-weight: bold;
    box-shadow: none;
    border: none;
    text-shadow: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.sftp-form button[type='submit']:hover, .sftp-form button[type='submit']:focus, .vpn-button.download:hover, .vpn-button.download:focus {
    background: #ffd77a !important;
    color: #222 !important;
    transform: translateY(-2px) scale(1.03);
} 

/* Accountpagina knoppen altijd geel */
.account-forms-container button[type='submit'] {
    background: #ffb74d !important;
    color: #222 !important;
    border-radius: 14px;
    padding: 18px 36px;
    font-size: 1.15em;
    font-weight: bold;
    box-shadow: none;
    border: none;
    text-shadow: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.account-forms-container button[type='submit']:hover, .account-forms-container button[type='submit']:focus {
    background: #ffd77a !important;
    color: #222 !important;
    transform: translateY(-2px) scale(1.03);
} 

/* Registratiepagina knop altijd geel */
.register-form button[type='submit'] {
    background: #ffb74d !important;
    color: #222 !important;
    border-radius: 14px;
    padding: 18px 36px;
    font-size: 1.15em;
    font-weight: bold;
    box-shadow: none;
    border: none;
    text-shadow: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.register-form button[type='submit']:hover, .register-form button[type='submit']:focus {
    background: #ffd77a !important;
    color: #222 !important;
    transform: translateY(-2px) scale(1.03);
} 

/* Algemene voorwaarden checkbox label op registratiepagina */
.register-form label[for], .register-form label {
    color: #fff !important;
    font-weight: normal;
}
.register-form label a {
    color: #ffb74d !important;
    text-decoration: underline;
} 

/* === Unified dropdown-item styling === */
.dropdown-item,
.account-btn-menu,
.logout-btn {
    display: block;
    width: 100%;
    padding: 0.6em 1.2em;
    background: none;
    color: #f1f1f1;
    border: none;
    border-radius: 0;
    font-size: 1em;
    font-weight: 500;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
}
.dropdown-item:hover, .dropdown-item:focus,
.account-btn-menu:hover, .account-btn-menu:focus,
.logout-btn:hover, .logout-btn:focus,
.dropdown-item.active {
    background: #ffb74d;
    color: #222;
} 

/* Quota styling */
.quota-info {
    background: #2a2d31;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #40444b;
}

.quota-info h3 {
    margin: 0 0 15px 0;
    color: #fff;
    font-size: 18px;
}

.quota-bar {
    background: #40444b;
    border-radius: 4px;
    height: 20px;
    overflow: hidden;
    margin-bottom: 10px;
    position: relative;
}

.quota-progress {
    height: 100%;
    transition: width 0.3s ease;
    border-radius: 4px;
}

.quota-progress.quota-ok {
    background: linear-gradient(90deg, #43b581, #3ca374);
}

.quota-progress.quota-notice {
    background: linear-gradient(90deg, #faa61a, #f39c12);
}

.quota-progress.quota-warning {
    background: linear-gradient(90deg, #f04747, #d84040);
}

.quota-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #b9bbbe;
    font-size: 14px;
}

.quota-percentage {
    font-weight: bold;
    color: #fff;
} 