/* BIDA Customer Pickup Portal Styles */

.bida-customer-pickup-portal {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.bida-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bida-form-group {
    margin-bottom: 20px;
}

.bida-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.bida-form-group input[type="text"],
.bida-form-group input[type="number"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.bida-form-group input[type="text"]:focus,
.bida-form-group input[type="number"]:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.bida-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.bida-btn-primary {
    background: #007bff;
    color: white;
}

.bida-btn-primary:hover:not(:disabled) {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.bida-btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.bida-btn-secondary {
    background: #6c757d;
    color: white;
}

.bida-btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.btn-spinner {
    display: inline-block;
}

#bida-camera-container {
    position: relative;
    width: 100%;
}

#bida-qr-scanner {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 10px;
    background: #000;
    object-fit: cover;
    border: 2px solid #007bff;
    border-radius: 4px;
}

.bida-message {
    padding: 16px;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
}

.bida-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.bida-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.bida-message.info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

#bida-pickup-success {
    text-align: center;
    padding: 40px 20px;
}

#bida-pickup-success h3 {
    font-size: 24px;
    margin: 20px 0 10px 0;
}

@media (max-width: 600px) {
    .bida-card {
        padding: 20px;
    }
    
    .bida-btn {
        width: 100%;
        justify-content: center;
    }
    
    #bida-qr-scanner {
        max-width: 100%;
    }
}
