/* -----------------------------
   GLOBAL CARD STYLING
----------------------------- */
.bb-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.bb-card {
    background: #fff;
    border-radius: 12px; 
    padding: 18px;
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    overflow-wrap: break-word; 
    word-break: break-word;    
    box-sizing: border-box;
}

.bb-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #27236E;
}

.bb-card p {
    margin: 0 0 8px;
    font-size: 15px;
}

.bb-card input,
.bb-card textarea,
.bb-card select {
    max-width: 100%;
    box-sizing: border-box;
}

/* -----------------------------
   ADD JOB FORM
----------------------------- */
.bb-add-job-card {
    background: #ffffff;
    border-radius: 12px; 
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    max-width: 100% !important;
    width: 100%;
    margin: 0 auto 40px;
    font-size: 16px;
    font-family: 'Jost', sans-serif;
    box-sizing: border-box;
}

.bb-add-job-card h2 {
    font-size: 22px;
    margin-bottom: 25px;
    text-align: center;
    color: #27236E;
}

.bb-add-job-card form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 25px;
    box-sizing: border-box;
}

.bb-add-job-card form .full-width {
    grid-column: 1 / -1;
}

.bb-add-job-card label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 15px;
    color: #27236E;
}

.bb-add-job-card input,
.bb-add-job-card textarea {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e0e0e0; 
    border-radius: 8px;
    font-size: 15px;
    background: #fff;
    color: #333;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.bb-add-job-card input:focus,
.bb-add-job-card textarea:focus {
    border-color: #3b38a3;
    box-shadow: 0 0 5px rgba(39,35,110,0.25);
    outline: none;
}

.bb-add-job-card textarea {
    resize: vertical;
    min-height: 100px;
}

/* -----------------------------
   GLOBAL BUTTON STYLING
----------------------------- */
.bb-button {
    padding: 12px 22px;
    background: #F87CFC;       /* normal pink */
    color: #ffffff;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s, color 0.2s;
    display: inline-block;
    text-align: center;
}

.bb-button:hover {
    background: #D2BFFE;       /* hover lilac */
    color: #ffffff;
}

/* Optional: full-width buttons in forms */
.bb-button.full-width {
    width: 100%;
    justify-self: center;
}

/* Optional: smaller buttons (like claim/delete inside cards) */
.bb-button.sm {
    padding: 10px 20px;
    font-size: 14px;
}

/* -----------------------------
   RESPONSIVE
----------------------------- */
@media (max-width: 900px) {
    .bb-cards-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .bb-add-job-card form {
        grid-template-columns: 1fr;
    }
    .bb-cards-container {
        grid-template-columns: 1fr;
    }
}

/* -----------------------------
   FORCE INPUT STYLES
----------------------------- */
.bb-add-job-card input,
.bb-add-job-card textarea,
.bb-add-job-card select,
.bb-card input,
.bb-card textarea,
.bb-card select {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #27236E !important;
    border-radius: 8px !important;
    padding: 10px 12px !important;
    font-size: 15px !important;
    box-sizing: border-box !important;
}

.bb-add-job-card input:focus,
.bb-add-job-card textarea:focus,
.bb-add-job-card select:focus,
.bb-card input:focus,
.bb-card textarea:focus,
.bb-card select:focus {
    outline: none !important;
    border-color: #3b38a3 !important;
    box-shadow: 0 0 5px rgba(39,35,110,0.25) !important;
}

.bb-add-job-card input,
.bb-add-job-card textarea,
.bb-card input,
.bb-card textarea {
    box-shadow: none !important;
}