/* Basic reset */
body, h1, form, input, button, a, p {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styling */
body {
    font-family: Aptos, sans-serif;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0; /* Ensure no default margin */

}

.container {
    display: flex;
    flex-direction: column; /* Ensure containers stack vertically */
    gap: 20px; /* Space between containers */
    background: #fff;
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    position: relative; /* Ensure container is the reference for absolute positioning */
    text-align: center;
}

/* Heading styling */
h1 {
    color: #333;
    margin-bottom: 20px;
}

/* Form group styling */
.form-group {
    margin-bottom: 15px;
}

/* File upload styling */
.file-upload {
    position: relative;
    display: inline-block;
    width: 100%;
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-button {
    display: inline-block;
    padding: 10px;
    border: 2px solid #007bff;
    border-radius: 10px;
    background-color: #fff;
    color: #007bff;
    font-size: 16px;
    cursor: pointer;
    width: 33%;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
}

.file-button:hover {
    background-color: #007bff;
    color: #fff;
}

/* Drag and Drop Area */
.drag-drop-area {
    border: 2px dashed #007bff;
    border-radius: 10px;
    padding: 40px;
    background-color: #f9f9f9;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
    transition: background-color 0.3s, border-color 0.3s;
}

.drag-drop-area.drag-over {
    background-color: #e9ecef;
    border-color: #0056b3;
}

/* Button styling */
button {
    background-color: #007bff;
    border: none;
    color: white;
    padding: 15px;
    font-size: 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 33%;
}

button:hover {
    background-color: #0056b3;
}
/* Logout Section styling */
.logout-section {
    position: absolute; /* Position relative to the container */
    top: 20px; /* Adjust distance from top */
    right: 20px; /* Adjust distance from right */
    text-align: right;
}

.logout-button {
    display: inline-block;
    margin-top: 20px;
    background-color: #dc3545;
    color: white;
    padding: 10px 10px;
    font-size: 14px;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.logout-button:hover {
    background-color: #c82333;
}

/* File info styling */
.file-info {
    margin-top: 15px;
    margin-bottom: 20px;
    font-size: 15px;
    color: #333;
    font-family: 'Courier New', Courier, monospace; /* Monospace font */
}


/* Label styling */
label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

/* Input styling */
input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    color: #333;
}



/* Centering the error message */
.error-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background-color: #f7f7f7;
}

.error-content {
    text-align: center;
    max-width: 600px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
}

.error-content h1 {
    font-size: 5rem;
    margin-bottom: 10px;
    color: #e74c3c; /* Red color for the error code */
}

.error-content p {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.back-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    color: #fff;
    background-color: #3498db; /* Blue color for the button */
    border: none;
    border-radius: 10px;
    text-decoration: none;
}

.back-button:hover {
    background-color: #2980b9; /* Darker blue on hover */
}

.download-button {
    display: inline-block;
    margin-top: 20px;
    background-color: #32CD32;
    color: white;
    padding: 15px;
    font-size: 16px;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.download-button:hover {
    background-color: #228B22; /* Forest Green */
 }

.spinner {
    display: none; /* Hidden by default */
    margin-top: 3%;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top-color: #32CD32;;
    border-radius: 50%;
    animation: spin 1s ease infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Logout Section styling */
.logo-section {
    position: absolute; /* Position relative to the container */
    top: 20px; /* Adjust distance from top */
    center: 20px; /* Adjust distance from right */
    text-align: left;
}

.credit-section {
    position: absolute; /* Position relative to the container */
    bottom: 20px; /* Adjust distance from top */
    center: 20px; /* Adjust distance from right */
    text-align: left;
    font-size: 7pt;
    display: flex;
    align-items: center;
    gap: 7px

}

.item{
}