body {
    font-family: "Times New Roman", Times, serif;
    background: #f8f9fa;
    margin: 0;
    padding: 0;
}

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

h2, h3 {
    color: #333;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 5px;
}

.form-section {
    margin-top: 30px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-group {
    flex: 1 1 250px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

textarea {
    min-height: 60px;
    resize: vertical;
}

.radio-group label,
.checkbox-container label {
    display: inline-block;
    margin-right: 15px;
}

.checkbox-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.submit-container {
    margin-top: 30px;
    text-align: center;
}

.submit-container button {
    padding: 12px 25px;
    background-color: #007BFF;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

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

/* Adding styles for the logo */
.logo-container {
    text-align: center;
    margin-bottom: 20px;
}

.logo-container img {
    max-width: 200px; /* Adjust this size according to your logo's size */
    height: auto;
}
.center-text {
text-align: center;
border-bottom: 2px solid #000; /* Add a solid black line */
padding-bottom: 10px;  /* Adds space between the text and the line */
margin-bottom: 20px;  /* Adds space below the line */
}
.logo {
height: 100px;  /* Adjust the height as needed */
width: auto;    /* This will maintain the aspect ratio */
}

body {
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  .logo-container {
    text-align: center;
    margin: 30px 0 10px 0;
  }

  footer {
    text-align: center;
    margin-top: auto;
    color: black;
    padding: 10px;
    background-color: #f2f2f2;
  }

  body {
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  .logo-container {
    text-align: center;
    margin: 30px 0 10px 0;
  }

  footer {
    text-align: center;
    margin-top: auto;
    padding: 10px;
    background-color: #f2f2f2;
  }

  select {
    color: #000; /* Text color (Black) */
    background-color: #fff; /* Background color (White) */
}

.form-group {
    display: grid;                   /* Using CSS Grid */
    grid-template-columns: 1fr 2fr;   /* Creates two columns, first for the select, second for the textarea */
    gap: 20px;                        /* Adds space between columns */
    align-items: center;              /* Vertically aligns the elements */
}

/* css/style.css */

/* --- General Resets and Base Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Times New Roman", Times, serif;
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
    padding: 20px;
    font-size: 14px; /* Base font size */
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 25px 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* --- Logo and Main Heading --- */
.logo-container {
    text-align: center;
    margin-bottom: 25px;
}

.logo-container img {
    max-width: 100%; /* Ensure logo is responsive */
    height: 100px; /* Maintain specified height */
    object-fit: contain; /* Ensure logo aspect ratio is maintained */
}

.center-text {
    text-align: center;
    color: #005a9c; /* A professional blue */
    margin-bottom: 30px;
    font-size: 1.8em; /* Larger font for main title */
    font-weight: 600;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 15px;
}

/* --- Form Sections --- */
.form-section {
    margin-bottom: 35px;
    padding: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fdfdfd;
}

.form-section h3 {
    font-size: 1.4em;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eaeaea;
    font-weight: 500;
}

/* --- Form Rows and Groups for Layout --- */
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Space between items in a row */
}

.form-group {
    flex: 1 1 calc(50% - 20px); /* Two columns by default, accounts for gap */
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

/* Full width for certain form groups if needed */
.form-group.full-width {
    flex-basis: 100%;
}

/* --- Labels --- */
label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
    font-size: 0.95em;
}

/* --- Input Fields, Selects, Textareas --- */
input[type="text"],
input[type="number"],
input[type="email"],
input[type="date"],
input[type="file"],
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
    color: #333;
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
input[type="file"]:focus,
select:focus,
textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

input[type="file"] {
    padding: 8px; /* Adjusted padding for file input */
    background-color: #f9f9f9;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

select {
    appearance: none; /* Remove default system appearance */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 40px; /* Make space for the custom arrow */
}

/* --- Radio Buttons and Checkboxes --- */
.radio-group,
.checkbox-container {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for multiple options */
    gap: 10px 20px; /* Row and column gap */
    align-items: center;
    margin-top: 5px;
}

.radio-group label,
.checkbox-container label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
    margin-bottom: 0; /* Override default label margin */
    font-size: 0.9em;
}

.radio-group input[type="radio"],
.checkbox-container input[type="checkbox"] {
    margin-right: 8px;
    accent-color: #007bff; /* Modern way to color radio/checkbox */
    width: auto; /* Override full width */
    transform: scale(1.1); /* Slightly larger */
}

/* Styling for 'Other' input in accessories */
#accessories_other {
    margin-top: 10px; /* Space it from the 'Other' checkbox */
    flex-basis: 100%; /* Make it take full width in the checkbox container if wrapped */
}

/* --- Specific Field Groupings --- */
/* For Condition Assessment Textareas next to Selects */
.form-section .form-group textarea {
    margin-top: 10px;
}

/* Attachments section styling */
.form-section h3 + .form-row .form-group { /* Target form-groups directly under attachments */
    flex: 1 1 calc(33.333% - 20px); /* Three columns for attachments */
}

.form-section .form-group input[type="file"] + label { /* Caption label */
    margin-top: 8px;
    font-size: 0.85em;
    font-weight: normal;
}
.form-section .form-group input[type="file"] + label + input[type="text"]{ /* Caption input */
    margin-top: 4px;
}


/* --- Disclaimer --- */
.form-section p {
    margin-bottom: 15px;
    font-size: 0.9em;
    color: #666;
    line-height: 1.5;
}

/* --- Submit Button --- */
.submit-container {
    text-align: center;
    margin-top: 30px;
}

/* Customize btn-outline-primary button with full width */
button[type="submit"].btn-outline-primary {
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
}

button[type="submit"].btn-outline-primary:hover {
    background-color: #1280ed; /* Light blue on hover */
    transform: scale(1.05); /* Slight scale effect on hover */
}


/* --- Footer --- */
footer {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    background-color: black;
    color: black;
    font-size: 0.9em;
    border-top: 1px solid #dee2e6;
    border-radius: 0 0 10px 10px; /* Match container's bottom radius */
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .container {
        padding: 20px 25px;
    }

    .form-group {
        flex: 1 1 100%; /* Stack elements in a single column */
        margin-bottom: 15px;
    }

    .form-row {
        gap: 0; /* Remove gap as items stack */
    }

    .form-section h3 + .form-row .form-group { /* Attachments on mobile */
        flex: 1 1 100%;
    }

    .center-text {
        font-size: 1.6em;
    }

    .form-section h3 {
        font-size: 1.25em;
    }

    .radio-group,
    .checkbox-container {
        flex-direction: column; /* Stack radio/checkbox options */
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
        font-size: 14px;
    }

    .container {
        padding: 15px;
    }

    .center-text {
        font-size: 1.4em;
    }

    .form-section h3 {
        font-size: 1.1em;
    }

    button[type="submit"] {
        padding: 12px 25px;
        font-size: 1em;
    }

    input[type="text"],
    input[type="number"],
    input[type="email"],
    input[type="date"],
    input[type="file"],
    select,
    textarea {
        padding: 10px 12px;
        font-size: 0.95em;
    }
}

/* === Option 1: Subtle Enhancement for Ownership Details === */
.ownership-details-section {
    background-color: #f8f9fa; /* A slightly off-white background */
    border-left: 5px solid #007bff; /* A prominent blue accent line on the left */
    padding-top: 20px; /* Slight adjustments to padding if needed */
    padding-bottom: 20px;
    padding-left: 30px; /* Increased left padding to accommodate the border nicely */
    margin-left: -5px; /* Optional: If you want the border to align with the parent's edge */
}

.ownership-details-section h3 {
    color: #0056b3; /* A slightly darker or more saturated blue for the heading */
    margin-bottom: 25px; /* A bit more space below the heading */
}

/* You can also add specific input focus styles if desired for this section */
.ownership-details-section .form-group input[type="text"]:focus,
.ownership-details-section .form-group input[type="number"]:focus { /* Add other input types if they appear here */
    border-color: #0056b3;
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.2); /* Focus shadow matching the accent */
}

/* Body and Overall Layout */
body {
    background-color: #f8f9fa;
    font-family: "Times New Roman", Times, serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: #333;
}

/* Logo Section */
.logo-container {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 30px;
}

.logo-container img {
    height: 150px;
    width: 150px;
    object-fit: cover;
}

/* Table Section */
.table-responsive {
    margin-top: 30px;
}

/* Table */
.table {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: none;
}

.table thead {
    background-color: #343a40;
    color: #fff;
}

.table th, .table td {
    text-align: center;
    vertical-align: middle;
}

.table th {
    font-weight: bold;
    font-size: 1rem;
}

.table td {
    font-size: 0.9rem;
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
}

/* Hover Effects */
.table tbody tr:hover {
    background-color: #f1f1f1;
    cursor: pointer;
}

/* Search Bar */
#searchInput {
    font-size: 1.1rem;
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ddd;
    width: 100%;
    box-sizing: border-box;
}

#searchInput:focus {
    outline: none;
    border-color: #0056b3;
}

/* Add Valuation Button */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    font-size: 1rem;
    padding: 8px 16px;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Pagination Section */
#pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

#pagination .page-item {
    margin: 0 5px;
}

#pagination .page-link {
    background-color: #007bff;
    border: 1px solid #007bff;
    color: #fff;
    padding: 8px 14px;
    font-size: 1rem;
    border-radius: 5px;
}

#pagination .page-link:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Footer Styling */
footer {
    text-align: center;
    padding: 15px;
    background-color: #f2f2f2;
    margin-top: auto;
    font-size: 0.9rem;
    color: black;
}

/* Footer Text */
footer p {
    margin: 0;
}

.logo-container {
    text-align: center;
    margin: 30px 0;
  }
  
  .logo-container img {
    width: 120px;  /* You can adjust the size as needed */
    height: auto;
  }
  
  /* Remove the button appearance */
.download-btn {
    background: none;
    border: none;
    color: #007bff; /* Blue color similar to a hyperlink */
    font-size: 16px;
    font-weight: normal;
    cursor: pointer;
    text-decoration: underline; /* Make it look like a link */
    padding: 0;
    font-family: 'Arial', sans-serif;
}

/* Add hover effect */
.download-btn:hover {
    color: #0056b3; /* Darker blue when hovered */
    text-decoration: underline;
}

/* Ensure the link doesn't get underlined */
.download-link {
    text-decoration: none;
}

body {
    background: #e6ecf0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  .navbar {
    background: linear-gradient(to right, #007bff, #0056b3);
    color: white;
  }
  
  .navbar .navbar-brand,
  .navbar .navbar-brand:hover {
    color: white;
    font-weight: 600;
  }
  
  .navbar-brand img {
    height: 40px;
    margin-right: 10px;
  }
  
  .main-content {
    flex-grow: 1;
    padding: 30px 15px;
  }
  
  .header-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
  }
  
  #searchInput {
    flex-grow: 1;
    min-width: 220px;
  }
  
  .btn-add-valuation {
    white-space: nowrap;
  }
  
  .table-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
  }
  
  .table {
    margin: 0;
  }
  
  .table th {
    background-color: #f1f4f7;
    font-weight: 600;
  }
  
  .table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: #f9fbfc;
  }
  
  .table-hover tbody tr:hover {
    background-color: #e9f2ff;
  }
  
  footer {
    background: #343a40;
    color: black;
    text-align: center;
    padding: 15px;
    font-size: 0.9rem;
  }
  
  #searchResults {
    position: absolute;
    width: 100%;
    z-index: 1000;
    background: white;
    border: 1px solid #ced4da;
    border-top: none;
    border-radius: 0 0 0.375rem 0.375rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    max-height: 300px;
    overflow-y: auto;
  }
  
  .result-item {
    padding: 12px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
  }
  
  .result-item:hover {
    background: #f8f9fa;
  }
  
  @media (max-width: 768px) {
    .header-actions {
      flex-direction: column;
    }
  
    .btn-add-valuation {
      width: 100%;
    }
  
    .navbar-brand img {
      height: 36px;
    }
  }
  
  /* Pagination Styling */
  #pagination .page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
  }
  
  #pagination .page-link {
    color: #007bff;
  }
  
  #pagination .page-link:hover {
    color: #0056b3;
  }
  

  .checkbox-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-bottom: 1rem;
  }
  
  .checkbox-container label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
  }
  
  .popup {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: 500;
    font-size: 16px;
    color: white;
    background-color: #333;
    display: none;
    z-index: 9999;
    transition: all 0.4s ease;
  }
  
  .popup.show {
    display: block;
  }
  
  .popup.success {
    background-color: #28a745;
  }
  
  .popup.error {
    background-color: #dc3545;
  }
  
  .popup.info {
    background-color: #007bff;
  }
  

  .radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }
  
  .radio-group label {
    flex: 1 1 30%; /* Three per row */
    min-width: 40px;
  }

  .radio-group-inline {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
  }
  
  .radio-group-inline label {
    white-space: nowrap;
  }

  .checkbox-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checkbox-container label {
  flex: 1 1 100%; /* Full width on mobile */
  min-width: 200px;
}

@media (min-width: 576px) {
  .checkbox-container label {
    flex: 1 1 calc(50% - 10px); /* Two per row on small screens */
  }
}

@media (min-width: 768px) {
  .checkbox-container label {
    flex: 1 1 calc(33.333% - 10px); /* Three per row on medium+ screens */
  }
}

.checkbox-container input[type="text"] {
  flex: 1 1 100%;
  margin-top: 5px;
}

body {
  background-color: #f8f9fa;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.valrec-logo-container {
  text-align: center;
  margin-top: 30px;
}

.valrec-logo-container img {
  height: 120px;
  width: 120px;
}

.valrec-action-bar {
  margin-top: 30px;
  margin-bottom: 20px;
}

.valrec-search {
  max-width: 100%;
  border-radius: 20px;
  padding: 0.5rem 1rem;
}

.valrec-btn-add {
  border-radius: 20px;
  padding: 0.5rem 1.2rem;
  white-space: nowrap;
}

.valrec-table tr:hover {
  background-color: #f1f1f1;
  cursor: pointer;
}

.valrec-table th, .valrec-table td {
  vertical-align: middle;
  white-space: nowrap;
}

.valrec-logout-wrapper {
  position: absolute;
  top: 65px;
  right: 30px;
}

.valrec-logout-icon {
  font-size: 1.5rem;
  color: #dc3545;
  text-decoration: none;
}

.valrec-logout-icon:hover {
  color: #a71d2a;
}

.valrec-footer {
  text-align: center;
  margin-top: auto;
  padding: 15px;
  background-color: #f2f2f2;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .valrec-logo-container img {
    height: 80px;
    width: 80px;
  }

  .valrec-btn-add {
    width: 100%;
    margin-top: 10px;
  }

  .valrec-search {
    margin-bottom: 10px;
  }
}
  
  
