* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at top, #292929 0%, #111 45%, #050505 100%);
    color: #ffffff;
}

.page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px 15px;
}

.card {
    width: 100%;
    max-width: 560px;
    background: #151515;
    border: 1px solid #333;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 15px 50px rgba(0,0,0,.55);
}

/* RADIO 8521 */

.brand {
    text-align: center;
    margin-bottom: 30px;
}

.radio {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 8px;
    color: #ddd;
}

.number {
    font-size: 72px;
    line-height: .95;
    font-weight: 900;
    letter-spacing: -4px;
    color: #e52329;
}

.upload-title {
    font-size: 19px;
    font-weight: bold;
    letter-spacing: 9px;
    margin-top: 8px;
    color: #fff;
}

/* TEKST */

.intro {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    margin: 10px 0;
}

.description {
    color: #bbb;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 28px;
}

/* LOGIN */

.login-form label {
    display: block;
    margin-top: 16px;
    margin-bottom: 7px;
    font-size: 14px;
    color: #ccc;
}

.login-form input {
    width: 100%;
    padding: 15px;
    border-radius: 9px;
    border: 1px solid #444;
    background: #0c0c0c;
    color: white;
    font-size: 17px;
    outline: none;
}

.login-form input:focus {
    border-color: #e52329;
}

.login-form button {
    width: 100%;
    border: 0;
    border-radius: 9px;
    padding: 16px;
    margin-top: 24px;
    background: #e52329;
    color: white;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
}

.login-form button:hover {
    background: #ff3038;
}

/* BESTAND SELECTEREN */


.file-button {
    min-height: 150px;
    border: 2px dashed #e52329;
    border-radius: 15px;
    background: #0d0d0d;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    padding: 25px;
    cursor: pointer;

    font-weight: bold;
    font-size: 17px;
}

.file-button:hover {
    background: #191919;
}

.camera {
    font-size: 40px;
    display: block;
    margin-bottom: 12px;
}

.selection {
    margin-top: 18px;
    text-align: center;
    color: #ccc;
}

/* BESTANDSLIJST */

.file-list {
    margin-top: 15px;
}

.file-item {
    background: #222;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 6px;

    font-size: 13px;
    color: #ddd;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* UPLOAD KNOP */

.upload-button {
    width: 100%;
    border: 0;
    border-radius: 10px;
    padding: 17px;

    margin-top: 22px;

    background: #e52329;
    color: white;

    font-size: 16px;
    font-weight: bold;

    cursor: pointer;
}

.upload-button:hover {
    background: #ff3038;
}

.upload-button:disabled {
    opacity: .5;
    cursor: not-allowed;
}

/* VOORTGANG */

.progress-area {
    display: none;
    margin-top: 25px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;

    font-size: 14px;
    color: #ddd;
}

.progress {
    height: 18px;
    width: 100%;

    background: #333;
    border-radius: 20px;

    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0;

    background: #e52329;
    border-radius: 20px;

    transition: width .2s;
}

/* MELDINGEN */

.success {
    margin-top: 22px;
    padding: 16px;

    border-radius: 10px;

    background: #18351f;
    border: 1px solid #2b7540;

    color: #b9f3c8;
    text-align: center;
}

.error {
    margin-top: 20px;
    padding: 14px;

    border-radius: 9px;

    background: #41191b;
    border: 1px solid #8e2d31;

    color: #ffd1d1;
    text-align: center;
}

/* UITLOGGEN */

.logout {
    display: block;
    text-align: center;

    margin-top: 28px;

    color: #999;
    text-decoration: none;
    font-size: 14px;
}

.logout:hover {
    color: white;
}

/* FOOTER */

.footer {
    text-align: center;
    margin-top: 28px;

    padding-top: 20px;

    border-top: 1px solid #333;

    color: #666;
    font-size: 12px;
}

/* TELEFOON */

@media (max-width: 600px) {

    .page {
        align-items: flex-start;
        padding: 12px;
    }

    .card {
        padding: 25px 18px;
        border-radius: 15px;
    }

    .number {
        font-size: 62px;
    }

    .intro {
        font-size: 20px;
    }

    .file-button {
        min-height: 145px;
    }
}
/* BESTANDENPAGINA */

.files-card {
    max-width: 900px;
}

.user-info {
    text-align: center;
    color: #999;
    margin-bottom: 20px;
}

.upload-link {
    display: block;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
    background: #e52329;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 10px;
}

.search {
    width: 100%;
    padding: 15px;
    background: #0c0c0c;
    color: white;
    border: 1px solid #444;
    border-radius: 10px;
    font-size: 16px;
    margin-bottom: 10px;
}

.search:focus {
    outline: none;
    border-color: #e52329;
}

.file-count {
    color: #888;
    font-size: 13px;
    margin: 10px 0 18px;
}

.media-item {
    display: flex;
    gap: 18px;
    background: #202020;
    border: 1px solid #333;
    padding: 14px;
    margin-bottom: 12px;
    border-radius: 12px;
}

.preview {
    width: 150px;
    height: 105px;
    flex-shrink: 0;
    background: #090909;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview img,
.preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.generic-file {
    font-size: 42px;
}

.media-info {
    min-width: 0;
    flex: 1;
}

.media-name {
    font-weight: bold;
    overflow-wrap: anywhere;
    margin-bottom: 7px;
}

.media-size {
    color: #999;
    font-size: 13px;
    margin-bottom: 15px;
}

.media-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.media-buttons form {
    margin: 0;
}

.small-button {
    display: inline-block;
    border: 0;
    padding: 9px 12px;
    border-radius: 7px;
    background: #444;
    color: white;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
}

.download-button {
    background: #e52329;
}

.delete-button {
    background: #651d20;
}

.empty {
    padding: 40px 10px;
    text-align: center;
    color: #888;
}

@media (max-width: 600px) {

    .media-item {
        display: block;
    }

    .preview {
        width: 100%;
        height: 210px;
        margin-bottom: 14px;
    }

    .small-button {
        padding: 11px 12px;
    }
}
