/* General Dark Theme */
body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 2rem;
}

h1 {
    text-align: center;
    color: #fff;
}

/* Form styling */
form {
    margin-bottom: 2rem;
    background-color: #1e1e1e;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

label {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input[type="text"],
textarea {
    display: block;
    margin-bottom: 1rem;
    width: 100%;
    padding: 0.7rem;
    border-radius: 5px;
    border: 1px solid #333;
    background-color: #222;
    color: #e0e0e0;
}

input[type="text"]:focus,
textarea:focus {
    border-color: #00bfff;
    outline: none;
}

/* Drag & Drop Area */
#drop-area {
    border: 2px dashed #555;
    padding: 2rem;
    text-align: center;
    margin-bottom: 1rem;
    cursor: pointer;
    border-radius: 10px;
    transition: background 0.3s, border-color 0.3s;
    color: #aaa;
    background-color: #1a1a1a;
}

#drop-area.highlight {
    background-color: #222a36;
    border-color: #00bfff;
    color: #fff;
}

/* Button Styling */
button {
    background-color: #00bfff;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background-color: #0095d1;
}

/* Error messages */
#error {
    color: #ff4c4c;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Search box */
#search {
    width: 100%;
    padding: 0.7rem;
    margin-bottom: 1.5rem;
    border-radius: 5px;
    border: 1px solid #333;
    background-color: #222;
    color: #e0e0e0;
}

/* File list items */
#file-list {
    margin-top: 2rem;
}

.file-item {
    border: 1px solid #333;
    padding: 1rem;
    margin-bottom: 0.7rem;
    border-radius: 8px;
    background-color: #1e1e1e;
    transition: transform 0.2s, box-shadow 0.2s;
}

.file-item:hover {
    transform: scale(1.02);
    box-shadow: 0 0 10px rgba(0,191,255,0.5);
}

.file-item strong {
    color: #00bfff;
}

.file-item em {
    color: #aaa;
}

.file-item a {
    color: #00bfff;
    text-decoration: none;
}

.file-item a:hover {
    text-decoration: underline;
}
