/* ============================
   GLOBAL LAYOUT
   ============================ */
body {
    background: #0f1115;
    color: #e0e0e0;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* ============================
   CARD
   ============================ */
.card {
    background: #1a1d23;
    width: 90%;
    max-width: 900px;
    padding: 28px 32px;
    margin-bottom: 28px;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0,0,0,0.35);
}

/* ============================
   HEADINGS
   ============================ */
h2, h3 {
    color: #4dd0ff;
    margin-top: 0;
}

.hint {
    font-size: 13px;
    opacity: 0.6;
}

/* ============================
   BUTTONS
   ============================ */
.button {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 7px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.15s;
    white-space: nowrap;
}

.button.blue {
    background: #4dd0ff;
    color: #000;
}
.button.blue:hover {
    background: #00b5e6;
}

.button.outline {
    border: 2px solid #4dd0ff;
    color: #4dd0ff;
}
.button.outline:hover {
    background: rgba(77,208,255,0.12);
}

.button.small {
    padding: 8px 14px;
    font-size: 14px;
}

/* ============================
   BUTTON ROW
   ============================ */
.button-row {
    display: flex;
    gap: 14px;
    margin-top: 18px;
    flex-wrap: wrap;
}

/* ============================
   FILE UPLOAD BUTTON
   ============================ */
.file-btn {
    display: inline-block;
    background: #252a33;
    border: 1px solid #3a3f49;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #ccc;
    transition: 0.15s;
}
.file-btn:hover {
    background: #313641;
}

.upload-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

/* ============================
   FILE LIST
   ============================ */
.file-list {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.file-list li {
    margin: 7px 0;
}

.file-list a {
    color: #4dd0ff;
    text-decoration: none;
    font-size: 15px;
}
.file-list a:hover {
    text-decoration: underline;
}

.copy-id {
    color: #4dd0ff;
    text-decoration: underline;
}

.timer-text {
    margin-bottom: 14px;
}

/* ============================
   PROGRESS PER FILE
   ============================ */
.upload-progress {
    margin-top: 6px;
    margin-bottom: 6px;
    color: #98c9ff;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.upload-progress .name {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.progressbar {
    width: 220px;
    height: 10px;
    background: #222831;
    border-radius: 4px;
    overflow: hidden;
}

.progressbar-fill {
    height: 100%;
    width: 0%;
    background: #4dd0ff;
    transition: width 0.15s linear;
}

.upload-progress .pct {
    font-size: 13px;
    opacity: 0.8;
}

/* ============================
   DATEI GRÖSSE
   ============================ */
.file-size {
    float: right;
    color: #9bb8d1;
    font-size: 13px;
    opacity: 0.85;
}

.upload-progress .size {
    margin-left: auto;
    color: #9bb8d1;
    font-size: 13px;
    opacity: 0.85;
}

/* ============================
   LOGIN BOX
   ============================ */
.login-box {
    background: #1a1d23;
    padding: 35px 40px;
    width: 360px;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.35);
    text-align: center;
}

.login-box input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    background: #121417;
    border: 1px solid #2c2f36;
    border-radius: 6px;
    color: #e0e0e0;
}

.login-box input:focus {
    border-color: #4dd0ff;
    outline: none;
}

/* NEW: LOGIN BUTTON */
.login-box button {
    width: 100%;
    padding: 10px 18px;
    border-radius: 7px;
    background: #4dd0ff;
    color: #000;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: 0.15s;
}

.login-box button:hover {
    background: #00b5e6;
}

/* ============================
   ERROR MESSAGE
   ============================ */
.error {
    color: #ff5555;
    margin-top: 15px;
}
