/* --- BCO Onboarding Wrapper --- */
#bco-onboarding-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
}

/* --- Messages --- */
#bco-messages {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    display: none;
    font-size: 16px;
}
#bco-messages.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
#bco-messages.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* --- Progress Bar --- */
.bco-progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 30px;
}
.bco-progress-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 4px;
    width: 100%;
    background-color: #e0e0e0;
    z-index: 1;
}
.bco-progress {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 4px;
    background-color: #3498db;
    width: 0%;
    z-index: 2;
    transition: width 0.4s ease;
}
.bco-step-indicator {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 3;
    border: 3px solid #e0e0e0;
    transition: all 0.4s ease;
}
.bco-step-indicator.active {
    background-color: #3498db;
    border-color: #3498db;
    color: #fff;
}

/* --- Form Steps & Grid --- */
.bco-step h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
    font-weight: 600;
}
.bco-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.bco-form-group {
    display: flex;
    flex-direction: column;
}
.bco-form-group.full-width {
    grid-column: 1 / -1;
}

/* --- Form Elements --- */
.bco-form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
    font-size: 15px;
}
.bco-form-group input[type="text"],
.bco-form-group input[type="email"],
.bco-form-group input[type="tel"],
.bco-form-group input[type="number"],
.bco-form-group select,
.bco-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.bco-form-group input:focus,
.bco-form-group select:focus,
.bco-form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}
.bco-form-group input[type="file"] {
    padding: 8px;
    background: #fff;
}

/* --- Buttons --- */
.bco-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    background-color: #3498db;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    margin-top: 20px;
}
.bco-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}
.bco-prev-btn {
    background-color: #95a5a6;
}
.bco-prev-btn:hover {
    background-color: #7f8c8d;
}
.bco-next-btn, .bco-submit-btn {
    float: right;
}

/* --- Tooltips --- */
.bco-step-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}
.bco-step-header h2 { margin-bottom: 0; }
.bco-tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
    background: #7f8c8d;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-align: center;
    font-weight: bold;
    line-height: 20px;
}
.bco-tooltip .bco-tooltip-text {
    visibility: hidden;
    width: 220px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -110px;
    opacity: 0;
    transition: opacity 0.3s;
}
.bco-tooltip .bco-tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}
.bco-tooltip:hover .bco-tooltip-text {
    visibility: visible;
    opacity: 1;
}