body {
    font-family: Arial, sans-serif;
}

/* Basic styles for menu */
.menu {
    display: flex;
    flex-wrap: wrap; /* Allow menu items to wrap to new lines */
    justify-content: space-between; /* Distribute items evenly */
    background-color: #333;
    padding: 10px;
}

.menu-item {
    position: relative;
    margin-right: 10px;
}

.menu-item a {
    padding: 10px 20px;
    display: block;
    color: white;
    text-align: center;
    text-decoration: none;
}

.menu a {
    padding: 14px 20px;
    display: block;
    color: white;
    text-align: center;
    text-decoration: none;
}

.menu a:hover {
    background-color: #575757;
}

.menu a.active {
    background-color: #4CAF50;
}

.menu-item .submenu {
    display: none;
    position: absolute;
    background-color: #4CAF50;
    z-index: 1;
}

/* Submenu Styles */
.submenu {
    display: none; /* Hide submenu by default */
    background-color: #4CAF50; /* Background color of submenu */
    position: absolute; /* Position it relative to parent */
    z-index: 1; /* Ensure it's above other content */
    padding-top: 5px; /* Adjust spacing */
}

.menu-item:hover .submenu {
    display: block; /* Show submenu on hover of menu item */
}

.submenu a {
    padding: 10px 20px; /* Adjust padding for submenu items */
    color: white;
    text-decoration: none;
    display: block;
}

.submenu a:hover {
    background-color: #45a049;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .menu {
        flex-direction: column; /* Stack items vertically */
    }

    .menu-item {
        margin-bottom: 5px;
    }
}


/* Heading Styles */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Arial', sans-serif;
    color: #333;
    margin: 20px 0;
    padding: 10px;
    background-color: #f2f2f2;
    border-left: 5px solid #4CAF50;
}

h1 { font-size: 2em; }
h2 { font-size: 1.75em; }
h3 { font-size: 1.5em; }
h4 { font-size: 1.25em; }
h5 { font-size: 1em; }
h6 { font-size: 0.875em; }

/* Form Styles */
form {
    background-color: #f2f2f2;
    padding: 20px;
    border-left: 5px solid #4CAF50;
    margin: 20px 0;
}

form label {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-weight: bold;
}

form input[type="text"],
form input[type="password"],
form input[type="email"],
form textarea,
form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form input[type="submit"],
form input[type="reset"],
form button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

form input[type="submit"]:hover,
form input[type="reset"]:hover,
form button:hover {
    background-color: #45a049;
}

/* General Form Styles */
form {
    background-color: #f2f2f2;
    padding: 20px;
    border-left: 5px solid #4CAF50;
    margin: 20px 0;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Form Labels */
form label {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-weight: bold;
}

/* Text Input, Password Input, Email Input, Textarea, and Select Styles */
form input[type="text"],
form input[type="password"],
form input[type="email"],
form textarea,
form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Textarea Specific Styles */
form textarea {
    resize: vertical; /* Allow vertical resizing */
    height: 100px;
}

/* Checkbox and Radio Styles */
form input[type="checkbox"],
form input[type="radio"] {
    margin-right: 10px;
}

/* Checkbox and Radio Label Styles */
form input[type="checkbox"] + label,
form input[type="radio"] + label {
    display: inline-block;
    margin-bottom: 10px;
    font-weight: normal;
}

/* Submit, Reset, and Button Styles */
form input[type="submit"],
form input[type="reset"],
form button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-family: Arial, sans-serif;
}

/* Button Hover Effects */
form input[type="submit"]:hover,
form input[type="reset"]:hover,
form button:hover {
    background-color: #45a049;
}

/* Form Fieldset and Legend Styles */
form fieldset {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
}

form legend {
    font-weight: bold;
    font-size: 1.2em;
    padding: 0 10px;
    color: #333;
}

/* Form Help Text Styles */
form .help-text {
    display: block;
    font-size: 0.875em;
    color: #666;
    margin-top: -10px;
    margin-bottom: 20px;
}

/* Disabled Input Styles */
form input[disabled],
form select[disabled],
form textarea[disabled] {
    background-color: #e9e9e9;
    color: #666;
    cursor: not-allowed;
}

/* Error Message Styles */
form .error {
    color: #d8000c;
    background-color: #ffbaba;
    border-left: 4px solid #d8000c;
    padding: 10px;
    margin-bottom: 20px;
}

/* Success Message Styles */
form .success {
    color: #4F8A10;
    background-color: #DFF2BF;
    border-left: 4px solid #4F8A10;
    padding: 10px;
    margin-bottom: 20px;
}


/* General Form Styles */
form {
    background-color: #f2f2f2;
    padding: 20px;
    border-left: 5px solid #4CAF50;
    margin: 20px 0;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-width: 500px;
    margin: 20px auto;
}

/* Form Labels */
form label {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-weight: bold;
}

/* Text Input, Textarea, and Number Input Styles */
form input[type="text"],
form input[type="number"],
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Textarea Specific Styles */
form textarea {
    resize: vertical; /* Allow vertical resizing */
}

/* Submit Button Styles */
form input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-family: Arial, sans-serif;
}

/* Submit Button Hover Effects */
form input[type="submit"]:hover {
    background-color: #45a049;
}

/* Form Fieldset and Legend Styles */
form fieldset {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
}

form legend {
    font-weight: bold;
    font-size: 1.2em;
    padding: 0 10px;
    color: #333;
}

/* Date Picker Specific Styles */
form input[type="date"] {
    width: calc(100% - 2px); /* Adjust width to accommodate padding and border */
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    cursor: pointer;
}

/* Responsive table styles */
.table-container {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background-color: #fff;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* Set a minimum width for the table */
}

th, td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #4CAF50;
    color: white;
}

/* Alternating row colors */
tbody tr:nth-child(odd) {
    background-color: #f2f2f2; /* Light grey */
}

tbody tr:nth-child(even) {
    background-color: #fff; /* White */
}

/* Responsive adjustments for table */
@media screen and (max-width: 768px) {
    th, td {
        padding: 8px;
        font-size: 0.9em;
    }

    table {
        min-width: 100%; /* Adjust the min-width for smaller screens */
    }
}


/* Heading Styles */
h1 {
    font-size: 1.8em;
    color: #333;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 10px;
}

/* Link Styles */
a {
    color: #4CAF50;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Grey background specifically for read-only input fields */
input:read-only {
    background-color: #c4c1c1; /* Light grey background */
    color: #333;               /* Text color */
}


/* Responsive container class */
.container {
    width: 100%;
    padding: 20px;
    margin: 0 auto;
    box-sizing: border-box;
}

@media screen and (max-width: 768px) {
    .container {
        padding: 10px;
    }
}

/* Warning message class */
.warning-message {
    color: #d8000c;
    background-color: #ffbaba;
    border-left: 4px solid #d8000c;
    padding: 15px;
    margin: 20px auto;
    max-width: 600px;
    border-radius: 5px;
    font-family: Arial, sans-serif;
}
.warning-message strong {
    font-size: 1.2em;
}

/* Success message class */
.notes-message {
    color: #4F8A10;
    background-color: #DFF2BF;
    border-left: 4px solid #4F8A10;
    padding: 15px;
    margin: 20px auto;
    max-width: 600px;
    border-radius: 5px;
    font-family: Arial, sans-serif;
}
.notes-message strong {
    font-size: 1.2em;
}

/* Style sheet for partner details */
.details {
    margin-top: 20px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.details h3 {
    margin-top: 0;
    font-size: 1.5em;
    color: #333;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}
.details p {
    margin: 10px 0;
    padding: 8px 0;
    font-size: 16px;
    border-bottom: 1px solid #f0f0f0;
}
.details p:last-child {
    border-bottom: none;
}
.details label {
    font-weight: bold;
    width: 120px;
    display: inline-block;
    color: #555;
}
.details .not-found {
    text-align: center;
    color: #f00;
    margin-top: 20px;
}

/* Pagination styles */.pagination { text-align: center; margin-top: 20px; }.pagination a { color: #4CAF50; text-decoration: none; padding: 8px 16px; border: 1px solid #ddd; margin: 0 4px; }.pagination a.active { background-color: #4CAF50; color: white; border: 1px solid #4CAF50; }.pagination a:hover { background-color: #ddd; }
/* Responsive table styles */.table-container { width: 100%; overflow-x: auto; margin-bottom: 20px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); background-color: #fff; }table { width: 100%; border-collapse: collapse; min-width: 600px; }th, td { border: 1px solid #ccc; padding: 10px; text-align: left; }th { background-color: #4CAF50; color: white; }tbody tr:nth-child(odd) { background-color: #f2f2f2; }tbody tr:nth-child(even) { background-color: #fff; }@media screen and (max-width: 768px) { th, td { padding: 8px; font-size: 0.9em; } table { min-width: 100%; } }