/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@500;600&family=DM+Sans:wght@300;400;500&display=swap');

/*
   BID MODAL  (#bidModal)

 */

#bidModal .modal-content {
    font-family: 'DM Sans', sans-serif;
    background: #ffffff;
    border: 1px solid #e4e0da;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.04), 0 20px 48px rgba(0,0,0,0.12);
    overflow: hidden;
}

/* ── Header ── */
#bidModal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #f0ede8;
    background: #fff;
}

#bidModal .modal-title {
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 0;
}

/* Close button — targets the existing btn btn-dark used in the template */
#bidModal .modal-header .btn.btn-dark {
    width: 30px;
    height: 30px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: black;
    font-size: 1rem;
    line-height: 1;
    transition: all 0.15s ease;
}

#bidModal .modal-header .btn.btn-dark:hover {
    background: #f0ede8;
    border-color: #d8d4ce;
}

/* ── Body ── */
#bidModal .modal-body {
    padding: 22px 24px 26px;
    background: #fff;
}

/* ── Vehicle image block ── */
#bidModal .image {
    margin-bottom: 20px;
    text-align: center;
}

#bidModal .image p {
    font-family: 'Syne', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

#bidModal .card-img-top.thumbnail {
    width: 100%;
    height: 200px !important;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #e4e0da;
}

/* ── Form ── */
#bidModal .form-group p {
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 10px;
    padding: 8px 12px;
    background: #faf9f7;
    border: 1px solid #e4e0da;
    border-radius: 8px;
    display: inline-block;
}

#bidModal .form-control {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    color: #1a1a1a;
    background: #fff;
    border: 1px solid #e0ddd8;
    border-radius: 8px;
    padding: 11px 14px;
    height: auto;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-shadow: none;
}

#bidModal .form-control::placeholder {
    color: #b0aba4;
    font-weight: 300;
}

#bidModal .form-control:focus {
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(26,26,26,0.06);
    outline: none;
}

/* ── Terms checkbox ── */
#bidModal .form-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 14px 0;
    padding-left: 0;
}

#bidModal .form-check-input {
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
    flex-shrink: 0;
    border: 1.5px solid #c8c4be;
    border-radius: 4px;
    cursor: pointer;
    accent-color: #1a1a1a;
    margin-right: 20px;
}

#bidModal .form-check-label {
    font-size: 0.83rem;
    color: #666;
    line-height: 1.5;
    cursor: pointer;
    margin-left: 20px;
}

#bidModal .form-check-label a {
    color: #1a1a1a;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

#bidModal .form-check-label a:hover {
    color: #555;
}

/* ── Submit button ── */
#bidModal button[type="submit"] {
    width: 100%;
    padding: 12px;
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    background: #1a1a1a;
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
}

#bidModal button[type="submit"]:hover {
    opacity: 0.82;
}

#bidModal button[type="submit"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#bidModal .spinner-border {
    width: 14px;
    height: 14px;
    border-width: 2px;
}