*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: 'Arial', sans-serif;
    transition: background-color 0.3s, color 0.3s;
    position: relative;
}body.dark-theme {
    outline: 2px solid red;
}body.light-theme {
    background-color: #f0f4f8;
    color: #1a1a1a;
}body.dark-theme {
    background-color: #1a1a1a;
    color: #e0e0e0;
}.container {
    background: #ffffff;
    padding: 20px;
    border: 2px solid #00d1ff;
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 0;
    position: relative;
}body.dark-theme .container {
    background: #2a2a2a !important;
    border-color: #ff00ff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5) !important;
}.logo-link {
    text-decoration: none;
    color: inherit;
}.logo-container {
    position: absolute;
    z-index: 2;
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
}.logo {
    max-width: 400px;
    display: none;
}.logo-dark {
    display: block;
}body.dark-theme .logo-dark {
    display: none;
}body.dark-theme .logo-light {
    display: block;
}h1 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #00d1ff;
}body.dark-theme h1 {
    color: #ff00ff !important;
}h2 {
    font-size: 18px;
    margin: 20px 0 10px;
    color: #007bff;
}body.dark-theme h2 {
    color: #ff4081 !important;
}p {
    margin-bottom: 15px;
    font-size: 16px;
}button,
.button,
.custom-file-button {
    padding: 15px 25px;
    background: #04d1ff;
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    font-weight: bold;
    min-width: 120px;
    height: 50px;
    line-height: 16px;
    box-sizing: border-box;
    margin: 0;
}.button[href] {
    text-decoration: none;
    color: white;
}.custom-file-button {
    padding: 16px 25px 15px 25px;
    height: 50px;
}#uploadForm button {
    padding: 15px 25px 16px 25px;
    height: 50px;
}button:hover,
.button:hover,
.custom-file-button:hover {
    background: #3089ff;
}body.dark-theme button,
body.dark-theme .button,
body.dark-theme .custom-file-button {
    background: #ff4081 !important;
}body.dark-theme button:hover,
body.dark-theme .button:hover,
body.dark-theme .custom-file-button:hover {
    background: #d81b60 !important;
}.button-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 15px 0;
    gap: 10px;
}.theme-switch {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 3;
}.theme-checkbox {
    display: none;
}.theme-label {
    display: inline-block;
    width: 50px;
    height: 24px;
    background: #ccc;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
}.theme-label::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
}.theme-checkbox:checked + .theme-label {
    background: #007bff;
}body.dark-theme .theme-label {
    background: #ff4081;
}body.dark-theme .theme-checkbox:checked + .theme-label {
    background: #d81b60;
}.theme-checkbox:checked + .theme-label::after {
    transform: translateX(26px);
}body.dark-theme .theme-label::after {
    background: #e0e0e0;
}ul {
    list-style: none;
    text-align: left;
    margin: 0 auto;
    max-width: 300px;
}li {
    padding: 5px 0;
    font-size: 14px;
    color: #1a1a1a;
}body.dark-theme li {
    color: #e0e0e0 !important;
}#progressBar {
    margin-top: 10px;
}progress {
    width: 100%;
    height: 20px;
    -webkit-appearance: none;
    appearance: none;
    border: none;
    background: #d3d3d3;
    border-radius: 0;
}body.dark-theme progress {
    background: #444 !important;
}progress::-webkit-progress-bar {
    background: #d3d3d3;
    border-radius: 0;
}body.dark-theme progress::-webkit-progress-bar {
    background: #444 !important;
}progress::-webkit-progress-value {
    background: #00d1ff;
    border-radius: 0;
}body.dark-theme progress::-webkit-progress-value {
    background: #ff00ff !important;
}progress::-moz-progress-bar {
    background: #00d1ff;
    border-radius: 0;
}body.dark-theme progress::-moz-progress-bar {
    background: #ff00ff !important;
}.file-preview {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin: 15px 0;
    display: block;
    max-height: 400px;
    object-fit: contain;
}.file-preview[controls] {
    background: #000;
}#uploadStats {
    margin-top: 5px;
    font-size: 14px;
    color: #1a1a1a;
}body.dark-theme #uploadStats {
    color: #e0e0e0 !important;
}.footer {
    background: #ffffff;
    padding: 10px 20px;
    border: 2px solid #00d1ff;
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    margin-bottom: 20px;
}body.dark-theme .footer {
    background: #2a2a2a !important;
    border-color: #ff00ff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5) !important;
}.footer-links a {
    color: #007bff;
    text-decoration: none;
    margin: 0 10px;
    font-size: 14px;
}body.dark-theme .footer-links a {
    color: #ff4081 !important;
}.footer-links a:hover {
    text-decoration: underline;
}body.dark-theme .footer-links a:hover {
    color: #d81b60 !important;
}.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
}.lightbox-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 900px;
    max-height: 90vh;
    width: 100%;
    height: auto;
}.lightbox-content img,
.lightbox-content video {
    width: 100%;
    height: auto;
    max-height: 90vh;
}.lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}.info-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
}.info-lightbox-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    padding: 20px;
    border: 2px solid #00d1ff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    color: #1a1a1a;
}body.dark-theme .info-lightbox-content {
    background: #2a2a2a !important;
    border-color: #ff00ff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5) !important;
    color: #e0e0e0 !important;
}.info-lightbox-content h2 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #007bff;
}body.dark-theme .info-lightbox-content h2 {
    color: #ff4081 !important;
}.info-lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}#filePreview {
    margin-top: 15px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid #00d1ff;
    max-width: 360px;
    word-wrap: break-word;
    font-size: 14px;
}body.dark-theme #filePreview {
    background: #2a2a2a !important;
    border-color: #ff00ff !important;
    color: #e0e0e0 !important;
}#filePreview.empty {
    display: none;
}@media
 (max-width: 768px) {
    .logo {
        max-width: 150px;
    }

.file-preview {
    max-width: 150px;
    width: 100%;
    margin: 15px auto;
}

.container {
    padding: 15px;
}


button,
.button,
.custom-file-button {
    display: block;
    width: 100%;
    margin: 10px 0;
}

.footer {
    padding: 10px;
}

.footer-links a {
    display: inline;
    margin: 0 5px;
}
}
/* Styles for the additional footer */
.additional-footer {
    background: #f5f5f5; /* Slightly lighter background to distinguish it */
    padding: 10px 20px;
    border: 2px dashed #00d1ff; /* Dashed border to make it distinct */
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

body.dark-theme .additional-footer {
    background: #333333 !important; /* Slightly lighter dark background */
    border-color: #ff00ff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5) !important;
}

.additional-footer p {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #007bff;
}

body.dark-theme .additional-footer p {
    color: #ff4081 !important;
}

.additional-footer-links a {
    color: #007bff;
    text-decoration: none;
    margin: 0 10px;
    font-size: 14px;
}

body.dark-theme .additional-footer-links a {
    color: #ff4081 !important;
}

.additional-footer-links a:hover {
    text-decoration: underline;
}

body.dark-theme .additional-footer-links a:hover {
    color: #d81b60 !important;
}

/* Media query for responsiveness */
@media (max-width: 768px) {
    .additional-footer {
        padding: 10px;
    }

    .additional-footer-links a {
        display: inline;
        margin: 0 5px;
    }
}
