/* Inquiry Modal Styles - Updated Colors & Button Overrides */
.modal-dialog {
    max-width: 600px;
    margin: 1.75rem auto;
}

.modal-content {
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    padding: 1rem 1.5rem;
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
    font-weight: 500;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
    padding: 1rem 1.5rem;
    background-color: #f8f9fa;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

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

.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #1e3c72;
    /* Dark Blue focus */
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(30, 60, 114, 0.25);
}

/* Override Modal Buttons to avoid Theme Colors (Pink) */
/* Primary Action -> Blue */
.modal-footer .btn-primary {
    background-color: #1e3c72 !important;
    border-color: #1e3c72 !important;
    color: #fff !important;
}

.modal-footer .btn-primary:hover {
    background-color: #162c55 !important;
    border-color: #162c55 !important;
}

/* Secondary Action (Close) -> Neutral Grey */
.modal-footer .btn-secondary {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: #fff !important;
}

.modal-footer .btn-secondary:hover {
    background-color: #5a6268 !important;
    border-color: #545b62 !important;
}

/* TRIGGER BUTTON OVERRIDE (The one on the page) */
/* Targets the "Poptat cenu" button specifically to remove pink */
a.btn.btn-secondary[data-bs-target="#inquiryModal"] {
    background-color: #1e3c72 !important;
    border-color: #1e3c72 !important;
    color: #fff !important;
}

a.btn.btn-secondary[data-bs-target="#inquiryModal"]:hover {
    background-color: #162c55 !important;
    border-color: #162c55 !important;
    color: #fff !important;
}

/* Text Danger -> Dark Red */
.text-danger {
    color: #b02a37;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

/* Also ensure no pink backgrounds on error */
.is-invalid {
    border-color: #b02a37 !important;
    background-image: none !important;
}

.d-none {
    display: none !important;
}

/* Honeypot field - visually hidden but accessible to bots */
.pot-field {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}