/* members.css — responsive admin UI styling */

/* Base layout */
body {
    font-family: Arial, sans-serif;
    background: #0f0f0f;
    color: #e6e6e6;
    margin: 20px;
    line-height: 1.6;
}

/* Headings */
h1, h2, h3 {
    color: #00eaff;
    margin-bottom: 10px;
}

/* Links */
a {
    color: #00eaff;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Containers */
.error-box {
    background: #330000;
    color: #ff6666;
    padding: 10px;
    margin-bottom: 15px;
    border-left: 4px solid #ff3333;
}

.success-box {
    background: #003300;
    color: #66ff99;
    padding: 10px;
    margin-bottom: 15px;
    border-left: 4px solid #33ff77;
}

/* Forms */
form {
    max-width: 400px;
    margin-top: 20px;
}

label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="file"],
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #333;
    background: #1a1a1a;
    color: #e6e6e6;
    border-radius: 4px;
}

button,
input[type="submit"] {
    margin-top: 20px;
    padding: 10px 15px;
    background: #00eaff;
    color: #000;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}
button:hover,
input[type="submit"]:hover {
    background: #00b8cc;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #1a1a1a;
}

th, td {
    padding: 12px;
    border-bottom: 1px solid #333;
}

th {
    background: #111;
    color: #00eaff;
    text-align: left;
}

tr:hover {
    background: #222;
}

/* Avatar preview */
.avatar-preview {
    width: 64px;
    height: 64px;
    border-radius: 6px;
    object-fit: cover;
    margin-bottom: 8px;
}

/* Dropzone */
.dropzone {
    width: 100%;
    height: 140px;
    border: 2px dashed #38bdf8;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    cursor: pointer;
    margin-bottom: 15px;
    transition: background .2s, border-color .2s;
}
.dropzone.dragover {
    background: rgba(56,189,248,0.1);
    border-color: #0ea5e9;
}

/* Progress bar */
.progress-wrap {
    width: 100%;
    height: 12px;
    background: #1e293b;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 15px;
    display: none;
}
.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #38bdf8, #0ea5e9);
    transition: width .2s ease;
}
.container {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem;
    border-radius: 0.9rem;
    background: radial-gradient(circle at top left, #020617, #020617 40%, #0b1120 100%);
    border: 1px solid #111827;
    box-shadow: 0 0 0 1px rgba(15,23,42,0.8), 0 20px 45px rgba(15,23,42,1);
}
.profiel_container {
        position: absolute
        top: 30%
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
        padding: 1.5rem 1.25rem;
        border-radius: 0.9rem;
        background: radial-gradient(circle at top left, #020617, #020617 40%, #0b1120 100%
        border: 1px solid #111827;
        box-shadow: 0 0 0 1px rgba(15,23,42,0.8), 0 20px 45px rgba(15,23,42,1);
 }

/* Dropzone */
.dropzone {
    width: 100%;
    height: 140px;
    border: 2px dashed #38bdf8;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    cursor: pointer;
    margin-bottom: 15px;
    transition: background .2s, border-color .2s;
}
.dropzone.dragover {
    background: rgba(56,189,248,0.1);
    border-color: #0ea5e9;
}

/* Progress bar */
.progress-wrap {
    width: 100%;
    height: 12px;
    background: #1e293b;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 15px;
    display: none;
}
.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #38bdf8, #0ea5e9);
    transition: width .2s ease;
}

/* Avatar preview */
.avatar-preview {
    width: 64px;
    height: 64px;
    border-radius: 6px;
    object-fit: cover;
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 600px) {
    table, thead, tbody, th, td, tr {
        display: block;
    }

    tr {
        margin-bottom: 15px;
        border: 1px solid #333;
        padding: 10px;
    }

    th {
        display: none;
    }

    td {
        display: flex;
        justify-content: space-between;
        padding: 8px 5px;
    }

    td::before {
        content: attr(data-label);
        font-weight: bold;
        color: #00eaff;
    }
}
