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

h1 {
    color: #333;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #ffffff; /* Green background for headers */
}

/* Ensure the header links are styled correctly */
th a {
    text-decoration: none;
    color: white; /* Set the text color to white */
    display: block; /* Ensure the link takes up the full cell space */
    width: 100%; /* Ensure the link spans the entire cell */
    height: 100%; /* Ensure the link spans the entire cell */
}

th a:hover {
    text-decoration: underline;
    color: #FFD700; /* Change color on hover for better UX */
}

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

a {
    color: #ffffff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.pagination {
    margin-top: 20px;
}

.pagination a {
    margin: 0 5px;
    padding: 5px 10px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 3px;
}

.pagination a:hover {
    background-color: #45a049;
}

/* Gallery styles */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery img {
    max-width: 100%;
    height: auto;
    border: 2px solid #4CAF50;
    border-radius: 5px;
}

.gallery video {
    max-width: 100%;
    height: auto;
    border: 2px solid #4CAF50;
    border-radius: 5px;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: center;
    }
    .hero h2 {
        font-size: 24px;
    }
}

.quote-button {
    background-color: #4CAF50; /* Green background */
    color: white; /* White text */
    padding: 12px 24px; /* Larger padding for a bigger button */
    border: none; /* Remove default border */
    border-radius: 5px; /* Rounded corners */
    font-size: 16px; /* Larger font size */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s ease; /* Smooth hover effect */
}

.quote-button:hover {
    background-color: #45a049; /* Darker green on hover */
}

/* Customer Details Table */

/* styles.css */
table.details-table {
    width: auto;
    border-collapse: collapse;
    margin: 20px 0;
}

table.details-table th {
    white-space: nowrap;
    padding-right: 20px;
    text-align: left;
    background-color: #f4f4f4;
    font-weight: bold;
}

table.details-table td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.welcome-message {
    color: white;
    margin: 0 15px;
    font-size: 18px;
    font-weight: bold;
}

/* login page*/
/* Login Page Styles */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 20px;
    box-sizing: border-box;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    margin: 0 auto; /* Ensures centering */
}

.login-container h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
}

.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #555;
    text-align: left;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

.login-container button {
    width: 100%;
    padding: 0.75rem;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 0.5rem;
}

.login-container button:hover {
    background-color: #45a049;
}

.error-message {
    color: #d32f2f;
    text-align: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background-color: #ffebee;
    border-radius: 4px;
}

.login-wrapper {
    border: 2px solid rgb(43, 43, 42); /* Temporary to see the container */
    background-color: rgba(18, 18, 18, 0.1); /* Temporary */
}

nav a[href="/logout"] {
    color: #ff6b6b;
    font-weight: bold;
}

/* Style logout link differently */
.logout-link {
    color: #e74c3c;
    font-weight: bold;
}

/* Add welcome message styling */
.welcome-message {
    color: #fff;
    margin-right: 15px;
    font-style: italic;
}