/* General body styles */
body {
    font-family: Arial, sans-serif;
    background-color: #eef6fc; /* your light blue background */
    color: #30307d; /* dark blue text */
    margin: 30px 20px 20px 20px;
}

h2 {
    color: #1f1f5c;
    border-bottom: 2px solid #30307d;  /* <-- This is the blue line */
    padding-bottom: 6px;
    margin-bottom: 15px;
}


/* Table container */
table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 2px 8px rgba(48, 48, 125, 0.15);
}

/* Table header */
th {
    background-color: #30307d;
    color: blue;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
}

/* Table cells */
td {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
}

/* Clickable row hover effect */
tr.clickable-row:hover {
    background-color: #30307d; /* dark blue hover */
    color: white;
    cursor: pointer;
}

/* Links inside rows keep orange color and remain visible on row hover */
tr.clickable-row:hover td a {
    color: white;
}

/* Links inside table cells */
td a {
    text-decoration: none;
    color: #f36e25;
    font-weight: bold;
    transition: color 0.3s ease;
}

/* Link hover */


/* Cursor pointer on clickable rows */
tr.clickable-row {
    cursor: pointer;
}

/* Your existing form and nav styles for reference */
form {
    background: white;
    padding: 20px;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-width: 500px;
}

label {
    display: block;
    margin-top: 10px;
}

input, select, textarea {
    padding: 7px;
    width: 100%;
    margin-top: 5px;
}

button {
    margin-top: 15px;
    background: #30307d;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background: #1f1f5c;
}

.message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 10px;
    margin-bottom: 20px;
    color: #155724;
    border-radius: 5px;
    max-width: 500px;
}

nav {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

nav a {
    background-color: #30307d;
    color: white;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

nav a:hover {
    background-color: #1f1f5c;
    transform: translateY(-2px);
}

/* Flex container for forms */
.form-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
}

.form-container form {
    flex: 1 1 400px;
    max-width: 500px;
}
/* Container for customer details */
.customer-details {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px 25px;
    max-width: 600px;
    margin-bottom: 40px;
    border-radius: 8px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Title styling */
.customer-details h1 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #30307d;
}

/* Details list */
.customer-details p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #333;
}

.customer-details strong {
    color: #de1a1c;
    display: inline-block;
    width: 100px;
}
