.SignoutButton {
  position: absolute;
  top: 6px;
  right: 20px;
  width: fit-content;
  height: fit-content;
  color: #cccccc;
  opacity: 0.4;
  cursor: pointer;
  z-index: 1002;
  color: var(--color-gray-500)
}
.support-button {
  background-color: #004c8e;
  /* #004c8e blue color for Support button */
  border-color: #004c8e;
  font-weight: bold;
  margin-right: 10px;
  /* Add margin to avoid button touching the edge */
}

.support-button:hover {
  background-color: #003f77;
  /* Darker blue on hover */
  border-color: #003f77;
}

.login-container {
  text-align: center;
  margin-top: 20px;
  /* Reduced margin to decrease space */
}

.login-header {
  margin-bottom: 20px;
  /* Reduced margin to decrease space */
}

.company-logo {
  width: 474px;
  /* Original width */
  height: auto;
  /* Maintain aspect ratio */
  max-width: 75%;
  /* Scale properly on phone resolutions */
}

@media (max-width: 768px) {
  .company-logo {
    width: auto;
    /* Ensure proper scaling */
    max-width: 75%;
    height: auto;
    /* Maintain aspect ratio */
  }
}
/* ConditionReport.css */
.custom-menu {
  margin-left: 10px;
  /* 10px spacing between logo and menu */
}

.menu-item {
  font-weight: bold;
  color: white;
  background-color: #00437d;
}

.menu-item:hover {
  background-color: #1890ff;
  color: white;
}

.menu-item-selected {
  color: white;
  background-color: #00437d;
}

.report-title {
  text-align: center;
  margin-bottom: 24px;
}

.image-container {
  width: 100%;
  padding-bottom: 66.66%;
  /* 3:2 aspect ratio */
  position: relative;
  margin-bottom: 24px;
}

.condition-vehicle-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Maintain aspect ratio */
}

.image-nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 0, 0, 0.5);
  /* Red background for better visibility */
  color: white;
  border: none;
  z-index: 1000;
}

.image-nav-button.left {
  left: 10px;
}

.image-nav-button.right {
  right: 10px;
}

.info-module {
  padding: 0px 0;
  margin-bottom: 25px;
}

.info-module-title {
  font-weight: bold;
  text-align: center;
  margin-bottom: 8px;
}

.info-module-content {
  display: grid;
  grid-template-columns: 36% 2px auto;
  /* Adjust width of left/right columns where all details are listed */
  padding: 0 10px;
}

.info-title {
  font-weight: bold;
  text-align: right;
  margin-right: 8px;
}

.info-content {
  text-align: left;
  margin-left: 8px;
}

.separator {
  border-bottom: 2px solid #CCCCCC;
  margin: 8px 0;
}

.vertical-separator {
  background-color: #CCCCCC;
  width: 2px;
}

/* Announcement styling */
.announcement-content {
  padding: 0 10px;
  margin-bottom: 16px;
}

@media (max-width: 480px) {
  .image-container {
    padding-bottom: 0;
    /* Remove aspect ratio padding */
    margin-bottom: 0;
    /* Remove bottom margin */
  }

  .condition-vehicle-image {
    position: relative;
    /* Reset position */
    height: auto;
    /* Auto height */
    width: 92vw;
    /* Full viewport width */
    left: 50%;
    /* Center horizontally */
    transform: translateX(-50%);
    /* Adjust centering */
  }

  .image-nav-button {
    background: rgba(255, 0, 0, 0.5);
    /* Ensure red background */
  }
}

.info-modules {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.info-modules>div {
  max-width: 100%;
}

@media (min-width: 768px) {
  .info-modules {
    max-width: 66.66%;
    /* Match the max-width of the image container */
    width: 100%;
  }
}

.content-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 16px;
}

.content-container>.ant-row {
  width: 100%;
  max-width: 66.66%;
  /* Match the max-width of the image container */
}

/* Additional styles for Condition Details */
.condition-details {
  width: 100%;
  margin: 0 auto;
  padding: 0 10px;
  /* Match the padding of other sections */
}

.condition-details-title {
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 16px;
  text-align: center;
}

.red-separator {
  border-bottom: 2px solid red;
  margin: 16px 0;
}

.item-title {
  font-weight: bold;
  font-size: 18px;
  margin: 16px 0 8px 0;
}

.condition-section {
  margin-bottom: 24px;
}

.condition-section img {
  width: 100%;
  height: auto;
  margin-bottom: 16px;
}

.info-module-content.condition-content {
  display: grid;
  grid-template-columns: 40% 2px auto;
  padding: 0 10px;
}

.info-title {
  font-weight: bold;
  text-align: right;
  margin-right: 8px;
}

.info-content {
  text-align: left;
  margin-left: 8px;
}
.high-bid-cell {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
}
.bidding-cell {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
}

.bidding-cell input[type='number'] {
    margin-left: 10px;
}
/* Bidding.css */

.site-layout-content {
    padding: 12px;

}

.bidding-vehicle-card {
    background: #dddddd;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    /* Center content */
    margin-bottom: 24px;
}

.image-container {
    width: 100%;
    padding-bottom: 66.66%;
    /* 3:2 aspect ratio */
    position: relative;
}

.bidding-vehicle-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Maintain aspect ratio */
    cursor: pointer;
    /* Pointer cursor to indicate clickability */
}

.bidding-vehicle-info {
    text-align: center;
    /* Center text */
    margin-bottom: 16px;
}

.current-bid {
    font-weight: bold;
    color: green;
    /* Green and bold */
    text-transform: uppercase;
    /* All caps */
    margin-top: 10px;
    /* Margin top */
}

.bidder-info {
    text-transform: uppercase;
    /* All caps */
    margin-top: 0px;
    /* Space above bidder info */
    margin-bottom: 16px;
    /* Space below bidder info */
}



.vehicle-notes {
    background: #fafafa;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    padding: 8px;
    margin-top: 16px;
    text-align: left;
    /* Left justified */
}

.vehicle-notes-title {
    font-size: 14px;
    color: #888;
    margin-bottom: 8px;
}

.filter-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.filter-section .ant-select {
    margin-right: 5px;
    margin-left: 5px;
}

/* Modal Styles */
.image-modal .ant-modal-close {
    display: none;
    /* Hide the rogue close button */
}



.ant-modal-body {
    padding: 0;
    /* Remove padding */
}


/* Media queries for mobile view */
@media (max-width: 480px) {
    .image-container {
        padding-bottom: 0;
        height: auto;
        /* Adjust height */
    }

    .bidding-vehicle-image {
        position: relative;
        height: auto;
        width: 100%;
        object-fit: cover;
    }
}
.floating-right-element {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: lightblue;
    padding: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    opacity: 70%;
}
.bid-dialog {
    background-color: #e1e1e1;
    padding: 0 0 10px;
    min-width: 300px;
    max-width: 90vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

.bid-dialog header {
    background: #1681e5;
    text-align: center;
    color: white;
}

.bid-dialog header h1 {
    color: white;
}

.bid-dialog .body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    overflow-x: hidden;
}

.bid-dialog .field {
    display: grid;
    grid-template-columns: minmax(110px, auto) 200px 150px;
    align-items: center;
    margin-bottom: 20px;
    min-height: 50px;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    gap: 12px;
}

.bid-dialog .field input {
    display: flex;
    align-items: center;
    width: 100%;
}

.bid-dialog .first-bid-message {
    color: navy;
    font-size: 14px;
    max-width: 300px;
    margin-left: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.bid-dialog .bid-amount-ok {
    text-align: center;
    width: 100%;
    height: 40px;
    font-weight: bold;
    color: green;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.bid-dialog .bid-amount-too-low {
    text-align: center;
    width: 100%;
    height: 40px;
    font-weight: bold;
    color: red;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1.2;
}

.proxy-bid-buttons {
    display: flex;
    justify-content: space-between;
}

.proxy-bid-confirm {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.no-display {
    display: none;
}
dialog.psi-modal {
    width: 440px;
    padding: 0;
    border-radius: 8px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: fixed;
    /* Keep it fixed regardless of scrolling */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fafafa;
}

/* Optional: To dim the background behind the dialog */
dialog.psi-modal::backdrop {
    background: rgba(0, 0, 0, 0.4);
}

.psi-modal .button-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
}

.psi-modal h2 {
    background-color: #1890ff;
    color: white;
    padding: 10px;
}

.psi-modal dialog {
    padding: 0;
}

.psi-modal form {
    padding: 10px;
}
.hidden {
    display: none;
}
.active-bids {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
}

.card-container {
    display: flex;
    flex-direction: column;
    /* flex-wrap: wrap; */
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
}

.vehicle-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 300px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.vehicle-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-header {
    background-color: #1890ff;
    color: white;
    padding: 10px;
    text-align: center;
}

.card-body {
    padding: 20px;
}

.card-field {
    margin-bottom: 10px;
}

.card-field strong {
    display: inline-block;
    width: 120px;
}

.card-body-container {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.card-body-container img {
    margin-top: 10px;
    margin-right: 10px;
}

/* Responsive Styles */
@media (min-width: 600px) {
    .vehicle-card {
        max-width: 500px;
    }
}

@media (max-width: 599px) {
    .card-container {
        flex-direction: column;
        align-items: center;
    }

    .vehicle-card {
        width: 100%;
        max-width: 90%;
    }
}
.my-purchases {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 0 10px;
}
.my-bid-history {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 0 10px;
}
.account-settings-content {
    padding: 24px;
}

.account-settings-form {
    max-width: 600px;
    margin: 0 auto;
}

.account-settings-form .ant-form-item {
    max-width: 100%;
    padding: 0 0px;
    margin-bottom: 0px;
    /* Decrease margin below form items */
    margin-bottom: 10px;
    /* Decrease margin below form items */
}

.ant-form-item-label>label {
    white-space: normal;
    /* Allow labels to wrap */
    width: 100%;
    /* Ensure label width adjusts to content */
    display: inline-block;
}

.ant-form-item-label {
    flex: 1;
    /* Allow label to grow to fill space */
}

.ant-form-item-control {
    width: 100%;
}

@media (max-width: 768px) {
    .account-settings-form {
        width: 100%;
        padding: 0 10px;
    }

    .account-settings-form .ant-form-item-label {
        text-align: left;
        /* Align labels to the left */
        width: 100%;
        /* Ensure label takes full width */
    }
}

.section-header {
    margin-bottom: 24px;
}

.account-settings-form .ant-form-item:last-child {
    margin-bottom: 16px;
    /* Adjust margin after last form item */
}
/* The snackbar - position it at the bottom and in the middle of the screen */
#Snackbar {
  visibility: hidden;
  min-width: 250px;
  margin-left: -125px;
  background-color: gainsboro;
  color: red;
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  z-index: 1000;
  left: 50%;
  bottom: 50px;
  font-size: 18px;
  font-weight: bold;
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#Snackbar.show {
  visibility: visible;
  /* Show the snackbar */
  /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
    However, delay the fade out process for 2 seconds */
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2s;
  animation: fadein 0.5s, fadeout 0.5s 2s;
}

#Snackbar.light {
  color: var(--color-primary);
  background-color: var(--color-alt-secondary);
  font-weight: 600;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }

  to {
    bottom: 50px;
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }

  to {
    bottom: 50px;
    opacity: 1;
  }
}

@-webkit-keyframes fadeout {
  from {
    bottom: 50px;
    opacity: 1;
  }

  to {
    bottom: 0;
    opacity: 0;
  }
}

@keyframes fadeout {
  from {
    bottom: 50px;
    opacity: 1;
  }

  to {
    bottom: 0;
    opacity: 0;
  }
}
/* MainPage.css (Refined) */
.vehicle-filter-button {
    background-color: #1890ff;
    border-color: #1890ff;
}

.vehicle-filter-button:hover {
    background-color: #007bff;
    border-color: #007bff;
}


.ant-table-wrapper .ant-table-thead>tr>th {
    background-color: #1890ff;
    color: white;
}

.table-row-light {
    background-color: white;
}

.table-row-dark {
    background-color: #fafafa;
}

@media (max-width: 768px) {

    .ant-table-thead>tr>th,
    .ant-table-tbody>tr>td {
        padding: 6px;
    }

    .ant-form-inline .ant-form-item {
        display: block;
        margin-bottom: 8px;
    }

    .vehicle-filter-form {
        padding: 0 5%;
    }

    .vehicle-filter-button {
        margin-left: 5%;
        margin-bottom: 20px;
    }

    .ant-form-item-label {
        font-size: 12px;
        text-align: right;
        width: 60px;
        padding-right: 10px;
    }

    .ant-select-selector {
        font-size: 12px;
    }

    .ant-btn {
        font-size: 12px;
        padding: 0 8px;
    }

    .vehicle-filter-form .ant-btn[type="submit"] {
        margin-top: 15px !important;
    }

    .section-header {
        padding: 0 2%;
    }
}

@media (min-width: 769px) {
    .vehicle-filter-button {
        margin-right: 20px;
        margin-bottom: 20px;
    }

    .ant-form .ant-form-inline .vehicle-filter-form {
        padding-bottom: 0px;
    }

    .vehicle-filter-form {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
    }

    .vehicle-filter-form .ant-form-item {
        margin-right: 20px;
    }
}

/* Media Query for Form Labels */
@media (max-width: 576px) {

    .vehicle-filter-form label[title="Make:"],
    .vehicle-filter-form label[title="Model:"],
    .vehicle-filter-form label[title="Year:"] {
        padding-top: 8px !important;
        height: 20px !important;
        display: block !important;
        line-height: 20px !important;
    }

    .vehicle-filter-form .ant-form-item-label label[title="Model:"] {
        padding-bottom: 2px !important;
    }

    .ant-form-item {
        width: 100%;
    }

    .vehicle-filter-form .ant-form-item {
        margin-bottom: 5px;
    }
}
/* global.css */

/* Reset and Base Styles */



body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

/* Layouts */
.layout {
  min-height: 100vh;
}

.site-layout-content {
  padding: 24px;
  background: #fff;
  min-height: 280px;
}

/* Headers */
body .header {
  /* Increased specificity by adding 'body' as parent selector */
  height: 83px;
  background-color: #dde5ec;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 5px solid red;
}

body .logo img {
  /* Increased specificity by adding 'body' as parent selector */
  width: 158px;
  height: 72px;
  padding-top: 7px;
  padding-bottom: 4px;
}

/* Buttons */
.activity-button,
.support-button {
  background-color: #004c8e;
  border-color: #004c8e;
  font-weight: bold;
  margin-right: 10px;
}

.activity-button:hover,
.support-button:hover {
  background-color: #003f77;
  border-color: #003f77;
}

/* Menus */
.custom-menu {
  margin-left: 10px;
}

.ant-dropdown .ant-dropdown-menu {
  background-color: #1890ff !important;
  /* Set background for the whole menu */
}

.ant-dropdown .ant-dropdown-menu-item {
  color: white !important;
  /* Ensure text is white on the blue background */
}

.ant-dropdown .ant-dropdown-menu-item:hover {
  background-color: #00437d !important;
  /* #00437d blue on hover */
  color: white !important;
  /* Ensure text is white on hover */
}


/* Form Styles */
.form-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 16px;
}

.ant-form-item {
  margin-bottom: 16px;
  margin-right: 0;
}

.ant-form-item-label>label {
  white-space: normal;
  width: 100%;
  display: inline-block;
}

.ant-form-item-label {
  flex: 1;
}

.ant-form-item-control {
  width: 100%;
}

/* Tables */
.ant-table-wrapper {
  overflow-x: auto;
}

.ant-table-thead>tr>th {
  background-color: #1890ff;
  color: white;
}

.table-row-light {
  background-color: white;
}

.table-row-dark {
  background-color: #fafafa;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .site-layout-content {
    padding: 0;
  }

  .ant-table-wrapper {
    padding: 0 0%;
    font-size: 12px;
  }

  .ant-form-inline .ant-form-item {
    display: block;
    margin-bottom: 8px;
  }

  .ant-layout-content {
    padding: 0;
  }

  .form-container {
    width: 100%;
    padding: 0 10px;
  }

  .form-container .ant-form-item-label {
    text-align: left;
    width: 100%;
  }

  .company-logo {
    width: auto;
    max-width: 75%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .image-container {
    padding-bottom: 0;
    height: auto;
  }

  .condition-vehicle-image,
  .bidding-vehicle-image {
    position: relative;
    height: auto;
    width: 100%;
    object-fit: cover;
  }

  .image-nav-button {
    background: rgba(255, 0, 0, 0.5);
  }
}

@media (min-width: 769px) {
  .vehicle-filter-button {
    margin-right: 20px;
    margin-bottom: 20px;
  }

  .vehicle-filter-form {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
  }

  .vehicle-filter-form .ant-form-item {
    margin-right: 20px;
  }
}

.user-info-row {
  height: 18px;
  /* Adjusted height */
  background: #004a8d;
  color: white;
  /* Force text color to white */
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 34px;
  /* Same padding as My Activity button */
}

.user-info-text {
  margin: 0;
  padding: 8px 16px;
  color: white !important;
  /* Override Ant Design styles */
}

.hidden {
  display: none;
}

@media print {
  .no-print {
    display: none !important;
  }
}

