
a {
    color: #0066cc; /* Example: A standard blue */
    text-decoration: none; /* Recommended: Remove the default underline */
}




/* General Body Styles */
body {
    font-family: 'Inter', sans-serif; /* Keep the font, it's good */
    margin: 0;
    padding: 0;
    background-color: #1a1a1a; /* Very dark grey/near black background */
    color: #f0f0f0; /* Light grey/silver for general text */
    line-height: 1.6;
}

/* --- Silver Accent Colors (Default for this example) --- */
:root {
    --accent-color: #bbbbbb;      /* A light silver/grey for accents */
    --accent-dark: #999999;       /* Darker silver for subtle contrast */
    --text-on-dark: #f0f0f0;      /* Light text on dark backgrounds */
    --text-on-light: #333333;     /* Dark text on light backgrounds (if any) */
    --background-dark: #1a1a1a;
    --container-background: #282828;
    --shadow-color: rgba(204,204,204,0.15); /* Subtle light shadow */
}


/* Header Styles */
.main-header {
    background-color: var(--background-dark); /* Same as body for seamless top */
    color: var(--accent-color); /* Silver or Gold for the title */
    padding: 1.5rem 0; /* Slightly more padding */
    text-align: center;
    box-shadow: 0 3px 8px var(--shadow-color); /* Adjusted shadow for dark theme */
    border-bottom: 1px solid var(--accent-dark); /* Subtle accent line */
}

/* MODIFIED: Header H1 to use Flexbox for alignment */
.main-header h1 {
    margin: 0;
    padding: 0;
    font-size: 2.5rem; /* Larger heading */
    letter-spacing: 2px; /* A bit of spacing for sleekness */
    display: flex; /* Make it a flex container */
    align-items: center; /* Vertically center items */
    justify-content: center; /* Horizontally center items */
    gap: 15px; /* Add space between the image and the text */
}

/* Ensure the image within the header is also vertically aligned */
.main-header h1 img {
    vertical-align: middle; /* Helps with older browser compatibility or specific edge cases */
}


/* Navigation Styles */
.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    background-color: var(--background-dark); /* Dark background for nav */
    box-shadow: 0 2px 5px var(--shadow-color);
    border-top: 1px solid var(--accent-dark); /* Subtle accent line */
    border-bottom: 1px solid var(--accent-dark);
}

.main-nav ul li {
    margin: 0 10px; /* Slightly less margin for tighter look */
}

.main-nav ul li a {
    display: block;
    color: var(--text-on-dark); /* Light text for nav items */
    text-decoration: none;
    padding: 15px 25px; /* More padding for clickable area */
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 5px;
    font-weight: bold; /* Make nav links stand out */
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    background-color: var(--accent-dark); /* Darker accent on hover/active */
    color: var(--background-dark); /* Dark text on accented background */
    box-shadow: inset 0 0 10px rgba(0,0,0,0.3); /* Inner shadow for depth */
}

/* Main Content Container Styles */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 30px auto; /* More vertical spacing */
    background-color: var(--container-background); /* Slightly lighter dark grey for content area */
    padding: 30px 40px; /* More padding inside the container */
    border-radius: 10px; /* More rounded corners */
    box-shadow: 0 5px 15px var(--shadow-color); /* More prominent shadow */
    min-height: 60vh;
    border: 1px solid var(--accent-dark); /* Subtle border for definition */
}

/* New CSS for centering content within the container */
.centered-content {
    display: flex;
    flex-direction: column; /* Stack children vertically */
    align-items: center; /* Center horizontally in a column layout */
    text-align: center; /* Center text within the column */
    margin-bottom: 20px; /* Add some space below this section */
}

/* Styles for image specifically within centered content */
.centered-content img {
    max-width: 100%; /* Ensure image doesn't overflow its container */
    height: auto; /* Maintain aspect ratio */
    margin-top: 15px; /* Space between h2 and image */
}


/* Headings within the container */
.container h2, .container h3, .container h4 {
    color: var(--accent-color); /* Silver or Gold for headings */
    border-bottom: 1px solid var(--accent-dark); /* Underline headings with accent */
    padding-bottom: 10px;
    margin-top: 20px;
    margin-bottom: 15px;
}

/* Paragraphs within the container */
.container p {
    color: var(--text-on-dark); /* Light text */
}

/* Footer Styles */
.main-footer {
    background-color: var(--background-dark);
    color: var(--accent-color); /* Silver or Gold for footer text */
    text-align: center;
    padding: 1.5rem 0; /* More padding */
    margin-top: 40px; /* More space above the footer */
    box-shadow: 0 -3px 8px var(--shadow-color);
    border-top: 1px solid var(--accent-dark); /* Subtle accent line */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-nav ul {
        flex-direction: column;
    }
    .main-nav ul li {
        margin: 0;
        width: 100%;
    }
    .main-nav ul li a {
        padding: 10px 15px; /* Adjust padding for smaller screens */
    }
    .container {
        width: 95%;
        padding: 20px; /* Less padding on smaller screens */
        margin: 20px auto;
    }
    .main-header h1 {
        font-size: 2rem;
        flex-direction: column; /* Stack image and text vertically on small screens */
    }
    .main-header h1 img {
        margin-bottom: 10px; /* Add some space below the image when stacked */
    }
}

/* New rule for form groups */
.form-group {
    display: flex;          /* Make it a flex container */
    flex-direction: column; /* Stack label and input vertically */
    margin-bottom: 15px;    /* Add space below each form group */
    gap: 5px;               /* Smaller gap between label and input */
}

/* Adjust existing input styles to be full width */
form input[type="text"],
form input[type="password"],
form input[type="email"] {
    padding: 12px;
    border: 1px solid var(--accent-dark);
    border-radius: 5px;
    background-color: #3a3a3a;
    color: var(--text-on-dark);
    font-size: 1rem;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);

    width: 100%;             /* Make input fields take full width of their container */
    box-sizing: border-box;  /* Include padding and border in the element's total width and height */
}

/* Ensure the form's gap property primarily controls spacing between form-groups now */
form {
    display: flex;
    flex-direction: column;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    gap: 15px; /* This gap is now primarily between form-groups */
}

/* Styles for the pending requests alert module (from home.php) */
.pending-requests-alert {
    background-color: #f39c12; /* Orange for warning */
    color: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    margin: 20px auto; /* Center it below/* Add this to your styles.css for the services page */
    .service-section {
        background-color: #2e2e2e; /* Slightly lighter dark for service boxes */
        padding: 25px;
        border-radius: 8px;
        box-shadow: 0 3px 8px rgba(0,0,0,0.2);
        margin-top: 25px;
        margin-bottom: 25px;
        border: 1px solid var(--accent-dark);
    }

    .service-section h3 {
        color: var(--accent-color);
        border-bottom: 1px solid var(--accent-dark);
        padding-bottom: 10px;
        margin-top: 0;
        margin-bottom: 15px;
        font-size: 1.6rem;
    }

    .service-section p {
        margin-bottom: 15px;
    }

    .service-section ul {
        list-style: none; /* Remove default bullet points */
        padding: 0;
        margin-top: 10px;
    }

    .service-section ul li {
        margin-bottom: 10px;
        padding-left: 25px; /* Space for custom bullet */
        position: relative;
        color: var(--text-on-dark);
    }

    .service-section ul li::before {
        content: '✔️'; /* Custom checkmark bullet */
        color: var(--accent-color); /* Color the checkmark */
        position: absolute;
        left: 0;
        font-size: 1.1em;
        line-height: 1.6; /* Align with text */
    } the welcome section */
    max-width: 800px; /* Adjust width as needed */
    text-align: center;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    animation: pulse 1.5s infinite; /* Subtle animation */
}

.pending-requests-alert p {
    margin: 0;
    font-size: 1.1rem;
}

.pending-requests-alert .review-link {
    color: #1a1a1a; /* Dark text on orange */
    text-decoration: none;
    background-color: #fdfdfd; /* White background for the link button */
    padding: 8px 15px;/* Add this to your styles.css for the services page */
    .service-section {
        background-color: #2e2e2e; /* Slightly lighter dark for service boxes */
        padding: 25px;
        border-radius: 8px;
        box-shadow: 0 3px 8px rgba(0,0,0,0.2);
        margin-top: 25px;
        margin-bottom: 25px;
        border: 1px solid var(--accent-dark);
    }

    .service-section h3 {
        color: var(--accent-color);
        border-bottom: 1px solid var(--accent-dark);
        padding-bottom: 10px;
        margin-top: 0;
        margin-bottom: 15px;
        font-size: 1.6rem;
    }

    .service-section p {
        margin-bottom: 15px;
    }

    .service-section ul {
        list-style: none; /* Remove default bullet points */
        padding: 0;
        margin-top: 10px;
    }

    .service-section ul li {
        margin-bottom: 10px;
        padding-left: 25px; /* Space for custom bullet */
        position: relative;
        color: var(--text-on-dark);
    }

    .service-section ul li::before {
        content: '✔️'; /* Custom checkmark bullet */
        color: var(--accent-color); /* Color the checkmark */
        position: absolute;
        left: 0;
        font-size: 1.1em;
        line-height: 1.6; /* Align with text */
    }
    border-radius: 5px;
    margin-left: 15px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block; /* Allows padding and margin */
}

.pending-requests-alert .review-link:hover {
    background-color: #ecf0f1; /* Lighter grey on hover */
    transform: translateY(-1px);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.01); }
    100% { transform: scale(1); }
}

/* Styles for admin_requests.php table and buttons */
/* Messages (Success/Error) */
.message { /* This is a duplicate - it should be removed as it's already defined above */
    padding: 10px 20px;
    margin: 15px auto;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    max-width: 800px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.message.success { /* This is a duplicate - it should be removed as it's already defined above */
    background-color: #27ae60; /* Green */
    color: #fff;
}

.message.error { /* This is a duplicate - it should be removed as it's already defined above */
    background-color: #e74c3c; /* Red */
    color: #fff;
}

/* No Requests Message */
.no-requests { /* This is a duplicate - it should be removed as it's already defined above */
    text-align: center;
    padding: 30px;
    font-style: italic;
    color: var(--text-on-dark);
}

/* Table Styling */
.table-scroll-container {
    overflow-x: auto; /* Enables horizontal scrolling for narrow screens */
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid var(--accent-dark);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);

    /* NEW: Stretch to fill the container's visual width, compensating for padding */
    /* The .container has 40px left/right padding, so we add 80px to width and use negative margins */
    width: calc(100% + 80px);
    margin-left: -40px;
    margin-right: -40px;
}

.requests-table {
    width: 100%; /* Ensure the table itself takes the full width of its new stretched container */
    border-collapse: collapse; /* Removes space between table cells */
    margin: 0; /* Remove default table margins */
    background-color: #2e2e2e; /* Slightly lighter dark for table background */
    color: var(--text-on-dark);
    font-size: 0.95rem;
}

.requests-table th,
.requests-table td {
    padding: 12px 15px;
    border: 1px solid #3c3c3c; /* Darker border for cells */
    text-align: left;
}

.requests-table thead {
    background-color: var(--background-dark); /* Darker header for the table */
    color: var(--accent-color); /* Silver/G/* Add this to your styles.css for the services page */
    .service-section {
        background-color: #2e2e2e; /* Slightly lighter dark for service boxes */
        padding: 25px;
        border-radius: 8px;
        box-shadow: 0 3px 8px rgba(0,0,0,0.2);
        margin-top: 25px;
        margin-bottom: 25px;
        border: 1px solid var(--accent-dark);
    }

    .service-section h3 {
        color: var(--accent-color);
        border-bottom: 1px solid var(--accent-dark);
        padding-bottom: 10px;
        margin-top: 0;
        margin-bottom: 15px;
        font-size: 1.6rem;
    }

    .service-section p {
        margin-bottom: 15px;
    }

    .service-section ul {
        list-style: none; /* Remove default bullet points */
        padding: 0;
        margin-top: 10px;
    }

    .service-section ul li {
        margin-bottom: 10px;
        padding-left: 25px; /* Space for custom bullet */
        position: relative;
        color: var(--text-on-dark);
    }

    .service-section ul li::before {
        content: '✔️'; /* Custom checkmark bullet */
        color: var(--accent-color); /* Color the checkmark */
        position: absolute;
        left: 0;
        font-size: 1.1em;
        line-height: 1.6; /* Align with text */
    }old text for headers */
}

.requests-table th {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.requests-table tbody tr:nth-child(even) {
    background-color: #343434; /* Alternate row background for readability */
}

.requests-table tbody tr:hover {
    background-color: #4a4a4a; /* Lighter on hover */
    color: var(--accent-color); /* Accent color on hover */
    cursor: pointer;
}

.requests-table input[type="checkbox"] {
    transform: scale(1.3); /* Slightly larger checkbox */
    margin: 0;
    cursor: pointer;
    accent-color: var(--accent-color); /* Changes the checkbox color */
}

/* Form Actions for Buttons */
.form-actions {
    text-align: center;
    margin-top: 25px;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    gap: 20px; /* Space between buttons */
    flex-wrap: wrap; /* Allow buttons to wrap on small screens */
}

.action-button {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    min-width: 150px; /* Ensure buttons have a minimum width */
}

.approve-button {
    background-color: #28a745; /* Green for approve */
    color: #fff;
}

.approve-button:hover {
    background-color: #218838; /* Darker green on hover */
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.3);
}

.delete-button {
    background-color: #dc3545; /* Red for delete/reject */
    color: #fff;
}

.delete-button:hover {
    background-color: #c82333; /* Darker red on hover */
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.3);
}

/* Back link */
.back-link {
    display: block;
    text-align: center;
    margin-top: 30px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

/* Responsive Adjustments for table and buttons */
@media (max-width: 600px) {
    .requests-table th,
    .requests-table td {
        padding: 8px 10px; /* Smaller padding on small screens */
        font-size: 0.85rem;
    }
    .form-actions {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
    }
    .action-button {
        width: 100%; /* Full width buttons */
        max-width: 300px; /* Limit max width for stacked buttons */
        margin: 0 auto;
    }
}
 .pending-requests-alert {
        background-color: #f39c12; /* Orange for warning */
        color: #fff;
        padding: 15px 25px;
        border-radius: 8px;
        margin: 20px auto; /* Center it below the welcome section */
        max-width: 800px; /* Adjust width as needed */
        text-align: center;
        font-weight: bold;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        animation: pulse 1.5s infinite; /* Subtle animation */
    }

    .pending-requests-alert p {
        margin: 0;
        font-size: 1.1rem;
    }

    .pending-requests-alert .review-link {
        color: #1a1a1a; /* Dark text on orange */
        text-decoration: none;
        background-color: #fdfdfd; /* White background for the link button */
        padding: 8px 15px;
        border-radius: 5px;
        margin-left: 15px;
        transition: background-color 0.3s ease, transform 0.2s ease;
        display: inline-block; /* Allows padding and margin */
    }

    .pending-requests-alert .review-link:hover {
        background-color: #ecf0f1; /* Lighter grey on hover */
        transform: translateY(-1px);
    }

    @keyframes pulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.01); }
        100% { transform: scale(1); }
    }

    /* New styles for admin links */
    .admin-links-container {
        text-align: center;
        margin: 20px auto;
        max-width: 800px;
    }

    .admin-button {
        display: inline-block;
        background-color: var(--accent-dark); /* Using darker accent for the button */
        color: var(--text-on-dark);
        padding: 12px 25px;
        border-radius: 8px;
        text-decoration: none;
        font-weight: bold;
        transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        margin: 10px; /* Add some margin if multiple buttons are added later */
    }

    .admin-button:hover {
        background-color: var(--accent-color); /* Lighter accent on hover */
        color: var(--background-dark);
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    }

    /* Add this to your styles.css for the services page */
    .service-section {
        background-color: #2e2e2e; /* Slightly lighter dark for service boxes */
        padding: 25px;
        border-radius: 8px;
        box-shadow: 0 3px 8px rgba(0,0,0,0.2);
        margin-top: 25px;
        margin-bottom: 25px;
        border: 1px solid var(--accent-dark);
    }

    .service-section h3 {
        color: var(--accent-color);
        border-bottom: 1px solid var(--accent-dark);
        padding-bottom: 10px;
        margin-top: 0;
        margin-bottom: 15px;
        font-size: 1.6rem;
    }

    .service-section p {
        margin-bottom: 15px;
    }

    .service-section ul {
        list-style: none; /* Remove default bullet points */
        padding: 0;
        margin-top: 10px;
    }

    .service-section ul li {
        margin-bottom: 10px;
        padding-left: 25px; /* Space for custom bullet */
        position: relative;
        color: var(--text-on-dark);
    }

    .service-section ul li::before {
        content: '✔️'; /* Custom checkmark bullet */
        color: var(--accent-color); /* Color the checkmark */
        position: absolute;
        left: 0;
        font-size: 1.1em;
        line-height: 1.6; /* Align with text */
    }
.message.warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

/* God user specific styles */
.god-links-container {
    text-align: center;
    margin: 30px auto;
    max-width: 800px;
}

.god-button {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.3);
}

.god-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

.acte-form {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.form-section h3 {
    color: #2c3e50;
    margin-top: 0;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 15px;
}

.form-info {
    background: #e8f4fc;
    padding: 12px 15px;
    border-radius: 8px;
    margin: 15px 0;
    color: #2c3e50;
    font-size: 0.95rem;
}

.acte-fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.form-field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field-group label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.file-input-wrapper {
    position: relative;
}

.file-input {
    width: 100%;
    padding: 12px;
    border: 2px dashed #bdc3c7;
    border-radius: 8px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-input:hover {
    border-color: #3498db;
    background: #f0f8ff;
}

.file-preview {
    margin-top: 8px;
    min-height: 40px;
}

.existing-file, .new-file {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #eaeaea;
    font-size: 13px;
}

.file-name {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2c3e50;
}

.file-date, .file-size {
    color: #7f8c8d;
    font-size: 12px;
}

.file-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.btn-view, .btn-replace {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.btn-view {
    background: #3498db;
    color: white;
    border: none;
}

.btn-view:hover {
    background: #2980b9;
}

.btn-replace {
    background: #f39c12;
    color: white;
    border: none;
}

.btn-replace:hover {
    background: #e67e22;
}

.form-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #ecf0f1;
}

.btn-submit, .btn-reset {
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    transition: all 0.3s ease;
}

.btn-submit {
    background: #27ae60;
    color: white;
}

.btn-submit:hover:not(:disabled) {
    background: #219653;
    transform: translateY(-2px);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-reset {
    background: #95a5a6;
    color: white;
}

.btn-reset:hover {
    background: #7f8c8d;
}

.files-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 25px;
    border: 2px solid #3498db;
}

.files-summary h4 {
    margin-top: 0;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

#selected-files-list {
    margin: 10px 0 0 0;
    padding-left: 20px;
}

#selected-files-list li {
    margin-bottom: 8px;
    color: #2c3e50;
}

/* Responsive */
@media (max-width: 768px) {
    .acte-fields-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-submit, .btn-reset {
        width: 100%;
        justify-content: center;
    }
}
