body {
    font-family: Arial, sans-serif;
    background-color: #e6f2ff;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 900px;
    margin: 20px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

a {
    color: #007BFF;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #0056b3;
}

.top-menu {
    background-color: #007BFF;
    overflow: hidden;
    border-radius: 8px;
    display: flex; /* Use flexbox layout */
    justify-content: space-between; /* Push items to the edges */
    align-items: center; /* Vertically center align items */
}

.top-menu a {
    color: white;
    display: inline-block; /* Change this from block to inline-block */
    text-align: center;
    padding: 14px 16px;
    transition: background-color 0.3s;
}

.menu-links a, .logout-btn {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    transition: background-color 0.3s;
}

.top-menu a:hover {
    background-color: #0056b3;
}


.logout-btn {
    padding: 14px 16px; /* To match the padding of other menu items */
}

button {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button.approve {
    background-color: #28a745;
    color: white;
}

button.approve:hover {
    background-color: #218838;
}

button.reject {
    background-color: #dc3545;
    color: white;
}

button.reject:hover {
    background-color: #c82333;
}

button.paid {
    background-color: #ffc107;
    color: black;
}

button.paid:hover {
    background-color: #e0a800;
}

button.view {
    background-color: #007BFF;
    color: white;
}

button.view:hover {
    background-color: #0056b3;
}

#scrollTopButton {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #555;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%; /* Circular button */
    font-size: 18px;
}

#scrollTopButton:hover {
    background-color: #333;
}

#invoiceIframe {
    border: 1px solid #ccc;
    margin-top: 20px;
    }

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-family: Arial, sans-serif;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 8px 12px;
    text-align: left;
}

th {
    background-color: #A6BDD6;
    font-weight: bold;
}

tr:hover {
    background-color: #f5f5f5;
}

#footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 2.5rem;            /* Footer height */
}

        .login-box {
            background-color: #ffffff;
            border-radius: 8px;
            box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
            padding: 20px;
            width: 300px;
        }
        label {
            display: block;
            margin-bottom: 6px;
            font-weight: bold;
        }
        input[type="text"],
        input[type="email"],
        input[type="password"] {
            width: 100%;
            padding: 8px;
            margin-bottom: 12px;
            border: 1px solid #007bff; /* Blueish border */
            border-radius: 4px;
            box-sizing: border-box;
        }
        input[type="submit"] {
            background-color: #007bff; /* Blueish button */
            color: #ffffff;
            border: none;
            border-radius: 4px;
            padding: 10px 20px;
            cursor: pointer;
            width: 100%;
            font-weight: bold;

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

        }
        .error {
            color: red;
            margin-bottom: 10px;
        }
        .login-box h2 {
        margin-top: 0; /* Add this to remove the default margin */
        }
 /* For the drag & drop zone in admin files upload */
#drop-zone {
    width: 100%;  /* Adjust as needed */
    height: 400px;  /* Adjust as needed */
    padding: 20px;
    border: 2px dashed #aaa;
    border-radius: 4px;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 16px;  /* Adjust as needed */
    color: #666;
    background-color: #f9f9f9;  /* Adjust as needed */
    transition: background-color 0.3s;
}

.drop-zone:hover {
    background-color: #f0f0f0;
}
select {
    font-family: Arial, sans-serif;
    font-size: 16px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
}
