body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px; /* Keep padding to move content away from edges */
    background-color: #121212; /* Dark background */
    color: #e0e0e0; /* Light text color */
}

.top-bar {
    background: #1e1e1e; /* Darker background for the top bar */
    color: #fff;
    padding: 10px 20px; /* Left and right padding */
    display: flex;
    align-items: center;
    justify-content: space-between; /* Distribute space between items */
    min-height: 60px; /* Set a minimum height to keep consistent */
}

.logo-title {
    display: flex;
    align-items: center;
}

.logo-title a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #81c784; /* Green accent */
}

.logo {
    height: 40px;
    margin-right: 10px;
}

.logo-title span {
    font-size: 24px;
    color: #81c784; /* Green accent */
}

#uploadBtn {
    background: #81c784; /* Green accent */
    color: #1e1e1e;
    padding: 10px 15px; /* Original size */
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-size: 25px;
}

#uploadBtn:hover {
    background: #66bb6a; /* Slightly darker green on hover */
}

.upload-placeholder {
    width: 80px; /* Approximate width of the upload button */
    height: 38px; /* Approximate height of the upload button */
}

.container {
    padding: 20px;
}

.breadcrumb {
    margin-bottom: 15px;
}

.breadcrumb a {
    color: #81c784; /* Green accent */
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin: 5px 0;
    font-size: 18px;
}

a {
    text-decoration: none;
    color: #e0e0e0; /* Light text color */
}

a:hover {
    text-decoration: underline;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8); /* Darker overlay */
}

.modal-content {
    background-color: #1e1e1e; /* Dark background for modal */
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 400px;
    border-radius: 8px;
    color: #e0e0e0;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

input[type="file"] {
    width: 100%;
    color: #e0e0e0;
    background-color: #2e2e2e;
    border: none;
    padding: 10px;
    border-radius: 4px;
}

input[type="submit"] {
    background-color: #81c784; /* Green accent */
    color: #1e1e1e;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #66bb6a; /* Slightly darker green on hover */
}

/* Error Message Styling */
.error-message {
    color: #ff6b6b;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Footer Styling */
.footer {
    position: fixed;
    bottom: 0;
    left : -20px;
    width: 100%;
    background-color: #1e1e1e; /* Dark background for footer */
    color: #e0e0e0;
    text-align: center;
    padding: 10px;
}

.footer p {
    margin: 0;
}

.footer a {
    color: #81c784; /* Green accent */
}

.loading-icon {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #81c784; /* Green accent */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin: 20px auto; /* Center the spinner */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Style for the copy link button */
.copy-link-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    margin-right: 10px;
    color: #81c784;
    padding: 0;
}

.copy-link-btn:hover {
    color: #66bb6a; /* Slightly darker green on hover */
}

/* Style for the file/folder link when highlighted */
.file-link.highlight {
    text-decoration: underline;
}

/* Style for the copied message */
.copied-message {
    margin-left: 5px;
    color: #81c784;
    font-size: 14px;
    animation: fadeOut 2s forwards;
}

@keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

/* Adjust list item to align items */
li {
    display: flex;
    align-items: center;
    margin: 5px 0;
    font-size: 18px;
}

/* Adjust spacing of the file/folder icon and name */
.file-link {
    display: flex;
    align-items: center;
}

.file-link span {
    margin-left: 5px;
}