/* TruckBid Frontend Shortcode Styles */
.tb-public-form-wrap {
    max-width: 600px;
    margin: 0 auto;
    padding: 24px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.tb-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.tb-form-full {
    grid-column: 1 / -1;
}

.tb-label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: #1E293B;
    margin-bottom: 6px;
}

.tb-input,
.tb-textarea,
.tb-select-f {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    font-size: 14px;
    color: #1E293B;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.tb-input:focus,
.tb-textarea:focus,
.tb-select-f:focus {
    border-color: #2D6EF5;
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 110, 245, 0.1);
}

.tb-btn-primary {
    background: #2D6EF5;
    color: #fff;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.tb-btn-primary:hover {
    background: #255ACC;
}

.tb-btn-primary:disabled {
    background: #94A3B8;
    cursor: not-allowed;
}

/* Google Maps Autocomplete Dropdown fix on frontend */
.pac-container {
    z-index: 100000 !important;
    border-radius: 8px !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
    font-family: inherit !important;
    padding: 4px 0 !important;
    margin-top: 2px !important;
}

.pac-item {
    padding: 8px 12px !important;
    cursor: pointer !important;
    font-size: 13px !important;
    color: #475569 !important;
    border-top: 1px solid #F1F5F9 !important;
}

.pac-item:hover {
    background-color: #F8FAFC !important;
}

.pac-item-query {
    font-size: 14px !important;
    color: #1E293B !important;
}

@media (max-width: 480px) {
    .tb-form-grid {
        grid-template-columns: 1fr;
    }
}