body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #161618;
    color: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: "Source Sans 3", sans-serif;

}

.link-image {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 9999;
}

.link-image img {
    width: 40px;
    height: auto;
    border: none;
}

.notie-container {
    box-shadow: none;
}

h1 {
    font-family: "Schibsted Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: bold;
    font-style: normal;
    font-size: 220%;
    margin-bottom: 10px;
}
p {
    margin-bottom: 30px;
}

#uploadForm {
    background-color: #252627;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 300px;
}

input[type="file"] {
    display: none;
}


.custom-file-upload:hover {
    background-color: #0056b3;
}

.upload-area {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-around; /* Add space between elements */
    position: relative;
}

.custom-file-upload {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden;
    text-overflow: ellipsis; /* Crop text with ellipsis if too long */
    max-width: 120px; /* Set max-width to prevent stretching */
    flex-shrink: 0; /* Prevent compression */
}

#fileNameContainer {
    max-width: 150px; /* Limit the maximum width of the container */
    overflow: hidden; /* Hide overflow content */
    text-overflow: ellipsis; /* Display ellipsis for overflow text */
    white-space: nowrap; /* Prevent text wrapping */
    display: flex; /* Use flexbox to center the vertical line */
    align-items: center; /* Center items vertically */
    position: relative; /* Ensure relative positioning */
}

#fileName {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.no-file {
    color: #ccc;
}

.remove-file {
    color: #ff0000;
    cursor: pointer;
    font-size: 18px;
}

input[type="submit"] {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

input[type="submit"]:disabled {
    background-color: #777;
    cursor: not-allowed;
}
