html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 80px;
}
body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.col-25 {
    flex: 1;
    padding-right: 10px;
}

.col-75 {
    flex: 2;
}

label {
    font-weight: bold;
}

input[type="text"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
}

.btn-primary {
    background-color: #007bff;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

    .btn-primary:hover {
        background-color: #0056b3;
    }

#successMessage {
    display: none; /* Initially hidden */
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000; /* Ensure it's above other content */
    width: 300px; /* Adjust width as needed */
    text-align: center;
}
#errorMessage {
    display: none; /* Initially hidden */
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000; /* Ensure it's above other content */
    width: 300px; /* Adjust width as needed */
    text-align: center;
}



.file-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.file-container {
    margin: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

    .file-container:hover {
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    }

.file-preview {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.pdf-preview {
    padding: 20px;
}

.excel-preview {
    padding: 20px;
}

.image-preview img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.file-actions {
    text-align: center;
    margin-top: 10px;
}

    .file-actions a {
        text-decoration: none;
        color: #007bff;
        font-weight: bold;
        transition: color 0.3s ease;
    }

        .file-actions a:hover {
            color: #0056b3;
        }

/* Styles for specific file types */
.pdf-preview embed {
    width: 100%;
    height: 400px;
}

.excel-preview img {
    width: 50px;
    height: 50px;
}

.image-preview img {
    border-radius: 5px;
}


#myChart {
    width: 100%;
    max-width: 1000px; /* Adjust max-width as needed */
    height: 400px; /* Adjust height as needed */
    margin: auto; /* Center the chart horizontally */
    overflow: visible;
}

/* Media query for smaller screens */
@media screen and (max-width: 768px) {
    #myChart {
        height: 300px; /* Adjust height for smaller screens */
    }
}

/* Media query for even smaller screens */
@media screen and (max-width: 480px) {
    #myChart {
        height: 200px; /* Adjust height for very small screens */
    }
}


.card-header.pending {
    background-color: yellow;
}

.card-header.rejected {
    background-color: red;
}
.card-header.approved {
    background-color: green;
}


.card-item.approved{
    background-color:green;
}
.card-item.pending {
    background-color: yellow;
}
.card-item.rejected {
    background-color: red;
}