/* General styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom right, #ccffcc, #ff9999);
}

/* Title section styles */
.title-section {
    background: linear-gradient(to right, #ffd700, #ffffcc);
    border: 1px solid #8B4513;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-title {
    font-family: "Arial", sans-serif;
    font-size: 48px;
    text-align: center;
    color: #663399;
    margin: 0;
    margin-left: 10px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.logo {
    width: 100px;
    height: 100px;
    margin-right: auto;
    margin-left: 25px;
}


.container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Form section styles */
.form-section {
    background-color: #c2e0c6;
    border: 1px solid #8B4513;
    border-radius: 10px;
    padding: 20px;
    width: 40%;
    margin-top: 50px;
    margin-bottom: 50px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.form-heading {
    font-family: "Times New Roman", serif;
    font-size: 28px;
    color: #8B4513;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-top: 0;
    background: linear-gradient(to right, #ffd700, #ffffcc);
    border: 1px solid #8B4513;
    border-radius: 10px;
}

.form-section label {
    display: block;
    margin-bottom: 5px;
    color: #8B4513;
    
}

.form-section input[type="text"],
.form-section input[type="file"] {
    width: 95%;
    border: 1px solid #8B4513;
    border-radius: 4px;
    margin-bottom: 10px;
    padding: 8px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.form-section {
    background-color: #c2e0c6;
    border: 1px solid #8B4513;
    border-radius: 10px;
    padding: 20px;
    width: 40%;
    margin-top: 50px;
    margin-bottom: 50px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.form-section input[type="submit"] {
    background-color: #8B4513;
    color: #FFF;
    border: 1px solid #8B4513;
    border-radius: 4px;
    padding: 8px 15px;
    cursor: pointer;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}

.form-section input[type="submit"]:hover {
    background-color: #FFA500;
    border-color: #FFA500;
}


/* Table section styles */
.table-section {
    flex-grow: 1;
    margin-left: 50px;
    
}

.table-section h2 {
    font-family: "Times New Roman", serif;
    font-size: 24px;
    color: #8B4513;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
    background: linear-gradient(to right, #ffd700, #ffffcc);
    border: 1px solid #8B4513;
    border-radius: 10px;
}

.table-header {
    text-align: center;
    margin-bottom: 10px;
    background: linear-gradient(to right, #ffb380, #ffcc99);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.search-bar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-input {
    border: 1px solid #8B4513;
    border-radius: 4px;
    padding: 8px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.search-button {
    background-color: #FFA500;
    color: #FFF;
    border: 1px solid #8B4513;
    border-radius: 4px;
    padding: 8px 15px;
    cursor: pointer;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}

.search-button:hover {
    background-color: #00FF00;
}

.table-section table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border: 1px solid #8B4513;
    border-radius: 10px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.table-section table th,
.table-section table td {
    padding: 10px;
    border: 1px solid #8B4513;
    text-align: left;
    
}

.table-section table th {
    background-color: #F5DEB3;
    background: linear-gradient(to right, #ffd700, #ffffcc);
    border: 1px solid #8B4513;
    border-radius: 10px;
}

.table-section table td a {
    color: #8B4513;
}

.success-message {
    background-color: #8BC34A;
    color: #FFF;
    border-radius: 5px;
    padding: 10px;
    margin-top: 10px;
    text-align: center;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.search-bar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-input {
    border: 1px solid #8B4513;
    border-radius: 4px;
    padding: 8px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.search-button {
    background-color: #FFA500;
    color: #FFF;
    border: 1px solid #8B4513;
    border-radius: 4px;
    padding: 8px 15px;
    cursor: pointer;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}

.search-button:hover {
    background-color: #00FF00;
}

.footer {
    background-color: #333;
    color: #FFF;
    text-align: center;
   
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-text {
    font-size: 12px;
    opacity: 0.7;
}

body {
    margin-bottom: 50px; /* Add some bottom margin to the body to accommodate the footer */
}

/* Show the footer when scrolled to the bottom */
body::after {
    content: "";
    display: block;
    height: 50px; /* Adjust the height to match the height of the footer */
}

body::after,
.footer {
    opacity: 10;
}

