/* BC Phone Selector — Premium Compact & Responsive Styles */

.bcps-selector-container,
.bcps-product-selector,
.bcps-selector-container *,
.bcps-product-selector * {
    box-sizing: border-box;
}

/* Homepage Selector Container */
.bcps-selector-container {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
    font-family: inherit;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.bcps-selector-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px;
    width: 100%;
}

.bcps-field-group {
    flex: 1 1 200px;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.bcps-field-group label {
    font-size: 12px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* Native Select Styling */
.bcps-select {
    width: 100%;
    max-width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    background-color: #ffffff;
    color: #111827;
    font-size: 14px;
    font-weight: 500;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.bcps-select:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.bcps-select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #f3f4f6;
    border-color: #e5e7eb;
}

/* Button Group (Homepage Selector) */
.bcps-selector-container .bcps-btn-group {
    flex: 1 1 100%;
    width: 100%;
}

/* Homepage Selector SHOW COVERS Button - Billion Cover Orange Style */
.bcps-selector-container .bcps-submit-btn {
    width: 100%;
    height: 46px;
    padding: 0 24px;
    background-color: #ff6600;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(255, 102, 0, 0.25);
    white-space: nowrap;
    outline: none;
    margin: 0;
    transform: none;
}

.bcps-selector-container .bcps-submit-btn:hover:not(:disabled) {
    background-color: #e05500;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.35);
    transform: none;
}

.bcps-selector-container .bcps-submit-btn:active:not(:disabled) {
    background-color: #cc4c00;
    box-shadow: 0 2px 6px rgba(255, 102, 0, 0.3);
    transform: none;
}

.bcps-selector-container .bcps-submit-btn:disabled {
    background-color: #ff6600;
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Product Page Specific Style */
.bcps-product-selector {
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 10px;
    padding: 14px 16px;
    margin-top: 12px;
    margin-bottom: 18px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.bcps-product-selector .bcps-field-group {
    margin-bottom: 12px;
}

.bcps-product-selector .bcps-field-group:last-child {
    margin-bottom: 0;
}

.bcps-required-star {
    color: #ef4444;
    margin-left: 2px;
}

/* Selected Model Indicator (Product Page) */
.bcps-selected-model-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.4;
    color: #374151;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 5px 12px;
    max-width: 100%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    font-family: inherit;
}

.bcps-selected-model-indicator .bcps-indicator-check {
    color: #059669;
    font-weight: 800;
    font-size: 14px;
    line-height: 1;
}

.bcps-selected-model-indicator .bcps-indicator-label {
    font-weight: 500;
    color: #4b5563;
}

.bcps-selected-model-indicator .bcps-indicator-model-name {
    font-weight: 700;
    color: #111827;
}

/* Loading Spinner Indicator */
.bcps-loading {
    position: relative;
    opacity: 0.7;
}

/* Mobile Responsiveness (<=768px) */
@media (max-width: 768px) {
    .bcps-selector-container,
    .bcps-product-selector {
        padding: 14px;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    .bcps-selector-form {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .bcps-field-group {
        width: 100%;
        flex: 1 1 100%;
    }

    .bcps-select {
        width: 100%;
        height: 44px;
        font-size: 14px;
    }

    .bcps-btn-group {
        width: 100%;
    }

    .bcps-submit-btn {
        width: 100%;
        height: 44px;
    }
}

