/* Universele Airsoft Club Stylesheet */

/* Basis */
body {
    background: #101c10;
    font-family: 'Roboto Mono', monospace;
    color: #e0ffe0;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    position: relative;
}
#matrix-bg, #radar-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    min-width: 100vw;
    min-height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: 0.22;
    display: block;
}
.container, .dashboard-container, .register-container {
    background: rgba(34, 45, 34, 0.97);
    width: 96vw;
    max-width: 900px;
    min-width: 320px;
    margin: 40px auto 0 auto;
    border-radius: 16px;
    box-shadow: 0 0 24px #000a;
    padding: 32px 3vw 40px 3vw;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}
h1, h2, h3 {
    color: #b4ff4a;
    letter-spacing: 2px;
    text-align: center;
    font-weight: bold;
    text-shadow: 0 0 8px #b4ff4a88, 0 0 2px #fff;
}
h1 { font-size: 2.1em; margin-bottom: 18px; }
h2 { font-size: 1.5em; margin-bottom: 14px; }
h3 { font-size: 1.2em; margin-bottom: 10px; }
.topbar, .header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    gap: 10px;
}
.rang {
    text-align:center;
    margin-bottom:10px;
    font-size:1.18em;
    letter-spacing:1px;
}
/* Universele knopstijl voor alle knoppen */
.btn, .logout-btn {
    background: linear-gradient(90deg, #1bff1b 60%, #b4ff4a 100%);
    color: #181f18;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 1.08em;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 2px 8px #0004;
    text-shadow: 0 0 4px #b4ff4a88;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.1s;
    margin: 4px 0;
    letter-spacing: 1px;
    display: inline-block;
    width: 100%; /* Zorgt dat alle knoppen even breed zijn binnen hun container */
    box-sizing: border-box;
}
.btn:hover, .logout-btn:hover {
    background: linear-gradient(90deg, #b4ff4a 60%, #1bff1b 100%);
    color: #0b1a0b;
    box-shadow: 0 0 16px #b4ff4a88;
    transform: scale(1.03);
}
.form-block {
    background: #232d23;
    border-radius: 12px;
    padding: 24px 20px 18px 20px;
    margin-bottom: 32px;
    margin-top: 18px;
    box-shadow: 0 0 8px #0006;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
label {
    color: #b4ff4a;
    display: block;
    margin-bottom: 4px;
    margin-top: 10px;
    text-align: left;
    font-size: 1.08em;
}
input[type="text"], textarea, input[type="email"], select, input[type="date"], input[type="password"] {
    width: 100%;
    padding: 12px;
    border-radius: 7px;
    border: 1.5px solid #4a6a4a;
    background: #181f18;
    color: #e0ffe0;
    margin-bottom: 10px;
    font-size: 1.08em;
    box-shadow: 0 0 8px #b4ff4a22 inset;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
    appearance: none;
}
input[type="text"]:focus, textarea:focus, select:focus, input[type="date"]:focus, input[type="password"]:focus {
    border: 1.5px solid #b4ff4a;
    box-shadow: 0 0 12px #b4ff4a55;
}
.tabs { display: flex; gap: 0; margin-bottom: 24px; }
.tab-btn, .tabs .tab-btn {
    flex: 1;
    background: #181f18;
    color: #b4ff4a;
    border: 2px solid #b4ff4a;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    padding: 16px 0;
    font-size: 1.13em;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}
.tab-btn.active, .tabs .tab-btn.active {
    background: #232d23;
    color: #b4ff4a;
    border-bottom: 3px solid #232d23;
}
.agenda-week-table, table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 18px;
}
@media (max-width: 700px) {
    .agenda-week-table, table {
        display: block;
        overflow-x: auto;
        width: 100%;
        min-width: 340px;
    }
}
.agenda-week-table th, .agenda-week-table td, table th, table td {
    border: 1px solid #b4ff4a44;
    padding: 10px 8px;
    text-align: left;
    vertical-align: top;
}
.agenda-week-table th, table th {
    background: #232d23;
    color: #b4ff4a;
    font-size: 1.05em;
}
.agenda-week-table td, table td {
    background: #181f18;
}
ul.teamlist {
    list-style: none;
    margin: 0;
    padding: 0;
}
ul.teamlist li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #273327;
    border-radius: 7px;
    margin-bottom: 10px;
    padding: 12px 10px;
    font-size: 1.13em;
    box-shadow: 0 2px 8px #0002;
    gap: 12px;
    min-width: 0;
}
ul.teamlist li > div:first-child {
    min-width: 180px;
    max-width: 340px;
    display: flex;
    align-items: center;
    gap: 10px;
}
ul.teamlist li > div:first-child span {
    max-width: 180px;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.role-badge {
    display: inline-block;
    background: #b4ff4a;
    color: #181f18;
    font-weight: bold;
    border-radius: 6px;
    padding: 3px 12px;
    font-size: 0.97em;
    letter-spacing: 1px;
    box-shadow: 0 0 6px #b4ff4a44;
    min-width: 90px;
    text-align: right;
}
ul.teamlist form {
    display: inline-block;
    margin-left: 10px;
}
ul.teamlist select {
    width: auto;
    min-width: 110px;
    padding: 7px 12px;
    font-size: 1em;
    border-radius: 6px;
    background: #181f18;
    color: #b4ff4a;
    border: 1.5px solid #4a6a4a;
    margin-right: 6px;
}
ul.teamlist select:focus {
    border: 1.5px solid #b4ff4a;
}
ul.teamlist .btn {
    padding: 7px 14px;
    font-size: 1em;
    border-radius: 6px;
    margin: 0 2px;
}
.status-yes { color: #b4ff4a; font-weight: bold; }
.status-no { color: #ff4a4a; font-weight: bold; }
.status-maybe { color: #ffe44a; font-weight: bold; }
.status-none { color: #aaa; }
.melding, .msg, .error, .success {
    margin: 18px auto;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    max-width: 600px;
}
.melding.warning, .msg.warning, .error {
    background: #ff4a4a22;
    color: #ff4a4a;
    border: 1.5px solid #ff4a4a;
}
.success {
    background: #b4ff4a22;
    color: #b4ff4a;
    border: 1.5px solid #b4ff4a;
}
.profile-info, .pw-form {
    background: #232d23;
    border-radius: 10px;
    padding: 18px 18px 10px 18px;
    margin-bottom: 18px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.back-link {
    color: #b4ff4a;
    text-decoration: underline;
    font-weight: bold;
    display: inline-block;
    margin-top: 18px;
}
img, video {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 0 8px #0006;
}
.logout-link, .logout-btn {
    display: inline-block;
    margin-top: 30px;
    color: #b4ff4a;
    text-decoration: underline;
    font-size: 1em;
    background: none;
    border: none;
    cursor: pointer;
}
/* Dashboard compact houden */
.dashboard-container {
    max-width: 500px;
    width: 98vw;
    margin: 80px auto 0 auto;
    border-radius: 16px;
    box-shadow: 0 0 24px #000a;
    padding: 38px 24px 32px 24px;
    text-align: center;
    border: 3px solid #b4ff4a;
    background: rgba(34, 45, 34, 0.97);
}
.options {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}
a:hover, a:focus {
    color: #d6ff8a;
    text-decoration: underline;
}
@media (max-width: 1100px) {
    .container, .dashboard-container, .register-container { width: 96vw; max-width: 99vw; padding: 18px 2vw 18px 2vw; }
    .form-block { max-width: 99vw; }
}
@media (max-width: 900px) {
    .container, .dashboard-container, .register-container { width: 99vw; max-width: 100vw; padding: 10px 1vw 12px 1vw; margin: 8px auto 0 auto; border-radius: 0; }
    .form-block { max-width: 100vw; padding: 10px 2vw 10px 2vw; }
    .agenda-week-table th, .agenda-week-table td, table th, table td { font-size: 0.98em; padding: 7px 3px; }
    .tab-btn { font-size: 1em; padding: 12px 0; }
}
@media (max-width: 700px) {
    .container, .dashboard-container, .register-container { padding: 4px 0 8px 0; }
    h1 { font-size: 1.1em; }
    .form-block { padding: 8px 2vw 8px 2vw; }
    ul.teamlist li { flex-direction: column; align-items: stretch; gap: 6px; font-size: 0.98em; padding: 8px 2px; }
    ul.teamlist li > div { justify-content: flex-start; }
    .agenda-week-table th, .agenda-week-table td, table th, table td { font-size: 0.93em; padding: 5px 2px; }
    .tabs, .tab-btn { font-size: 0.98em; padding: 8px 0; }
}
@media (max-width: 600px) {
    .container, .dashboard-container, .register-container {
        width: 98vw;
        max-width: 99vw;
        min-width: 0;
        padding: 0 2vw 8vw 2vw;
        margin: 0;
        border-radius: 0;
    }
    .form-block {
        padding: 4px 1vw 6px 1vw;
    }
    .agenda-week-table, .agenda-week-table th, .agenda-week-table td, table, table th, table td { font-size: 0.91em; padding: 3px 1px; }
    .tabs, .tab-btn { font-size: 0.95em; padding: 7px 0; }
}