body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding-top: 50px;
    margin: 0;
}

.container {
    background: #1e1e1e;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 500px;
    border: 1px solid #333;
}

h2, h3 {
    text-align: center;
    color: #4dabf7;
    margin-bottom: 20px;
}

/* Üzenetek stílusa */
.message {
    background-color: #1b5e20;
    color: #c8e6c9;
    padding: 12px;
    border: 1px solid #2e7d32;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
}
.error, .message:contains('HIBA:') { 
    background-color: #b71c1c;
    color: #ffcdd2;
    border: 1px solid #d32f2f;
}

/* Gombok és inputok */
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
}
.form-group input {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #444;
    background-color: #2c2c2c;
    color: #fff;
    box-sizing: border-box;
}

button[type="submit"] {
    width: 100%;
    background-color: #1976d2;
    color: white;
    padding: 12px 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}
button[type="submit"]:hover:not(:disabled) {
    background-color: #1565c0;
}
button[type="submit"]:disabled {
    background-color: #444;
    color: #888;
    cursor: not-allowed;
}

/* Fájl Kiválasztása Gomb Dizájnolása TRÜKK: Eredeti input elrejtése */
.file-input-hidden {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

/* Egyedi gomb stílusa (a label-t dizájnoljuk) */
.custom-file-upload-button {
    border: 2px dashed #1976d2;
    color: #4dabf7;
    background-color: #1e1e1e;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    display: block; 
    transition: all 0.3s ease;
    text-align: center;
    width: 100%; 
    box-sizing: border-box;
    margin-bottom: 15px;
}

.custom-file-upload-button:hover {
    background-color: #2c2c2c;
    border-color: #4dabf7;
}

/* Progress Bar Stílusa */
#progressBar {
    width: 100%;
    background-color: #333;
    border-radius: 6px;
    overflow: hidden;
    height: 30px;
    border: 1px solid #444;
}

#progressBarFill {
    height: 100%;
    background-color: #2e7d32;
    width: 0%;
    transition: width 0.3s ease;
    text-align: center; 
    color: white;
    font-weight: bold;
    line-height: 30px;
    box-sizing: border-box; 
    white-space: nowrap; 
}

#progressText {
    margin-bottom: 10px;
    font-weight: bold;
    color: #bbb;
    text-align: center;
}

/* Fájl lista és Törlés gomb */
.file-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}
.file-list li {
    background: #2c2c2c;
    margin-bottom: 10px;
    padding: 12px 15px;
    border-radius: 6px;
    border: 1px solid #333;
    word-wrap: break-word;
    display: flex;
    justify-content: space-between; 
    align-items: center;
}

/* A fájlnév linkje */
.file-list li a:first-child {
    flex-grow: 1; 
    text-decoration: none;
    color: #4dabf7;
    padding-right: 10px; 
}
.file-list li a:first-child:hover {
    text-decoration: underline;
}

/* Törlés gomb stílusa (piros X) */
.delete-button {
    color: #ef5350; 
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
    margin-left: 15px;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1; 
}

.delete-button:hover {
    color: #c62828; 
}

.logout-link {
    color: #ef5350;
    text-decoration: none;
    font-size: 0.9em;
}
.logout-link:hover {
    text-decoration: underline;
}

hr {
    border: 0;
    border-top: 1px solid #333;
    margin: 25px 0;
}
