/**
 * BTE Authenticator - Frontend Styles
 */

.bma-verify-wrapper {
    max-width: 600px;
    margin: 40px auto;
    padding: 0 20px;
}

.bma-verify-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.bma-verify-header {
    text-align: center;
    margin-bottom: 30px;
}

.bma-verify-header h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.bma-verify-header p {
    color: #666;
    font-size: 16px;
}

.bma-form-group {
    margin-bottom: 20px;
}

.bma-form-group label {
    display: block;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 8px;
}

.bma-form-group input {
    width: 100%;
    padding: 16px 20px;
    font-size: 18px;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    text-align: center;
    font-family: monospace;
    transition: border-color 0.3s;
}

.bma-form-group input:focus {
    outline: none;
    border-color: #c9a227;
}

.bma-verify-btn {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #c9a227, #d4af37);
    border: none;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.bma-verify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 162, 39, 0.4);
}

.bma-verify-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.bma-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: #999;
    font-size: 12px;
}

.bma-divider::before,
.bma-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.bma-divider span {
    padding: 0 15px;
}

.bma-qr-btn {
    width: 100%;
    padding: 14px;
    font-size: 14px;
    background: transparent;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.bma-qr-btn:hover {
    border-color: #c9a227;
    color: #c9a227;
}

/* Results */
.bma-result {
    margin-top: 30px;
}

.bma-result-authentic,
.bma-result-not-found {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.bma-result-header {
    padding: 40px;
    text-align: center;
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.1), transparent);
}

.bma-result-not-found .bma-result-header {
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.1), transparent);
}

.bma-result-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
}

.bma-icon-success {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.bma-icon-error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.bma-result-header h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.bma-result-authentic .bma-result-header h3 {
    color: #22c55e;
}

.bma-result-not-found .bma-result-header h3 {
    color: #ef4444;
}

.bma-result-body {
    padding: 30px;
}

.bma-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 10px;
    padding: 12px 16px;
    margin: 0 30px 15px;
    color: #b45309;
    font-size: 14px;
}

.bma-product-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.bma-product-info h4 {
    font-size: 20px;
    margin-bottom: 5px;
}

.bma-product-info p {
    color: #666;
    font-size: 12px;
    margin-bottom: 12px;
}

.bma-tier-badge {
    display: inline-block;
    padding: 5px 15px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 20px;
}

.bma-tier-core { background: rgba(100, 100, 120, 0.2); color: #64748b; }
.bma-tier-limited { background: rgba(201, 162, 39, 0.2); color: #b8860b; }
.bma-tier-artist { background: rgba(239, 68, 68, 0.2); color: #dc2626; }
.bma-tier-masterpiece { background: rgba(139, 92, 246, 0.2); color: #7c3aed; }

.bma-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.bma-detail {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.bma-detail span {
    display: block;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 5px;
}

.bma-detail strong {
    font-size: 16px;
    color: #1a1a1a;
}

.bma-edition-progress {
    margin-bottom: 20px;
}

.bma-edition-progress .bma-progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.bma-edition-progress .bma-progress-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.bma-edition-progress .bma-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #c9a227, #d4af37);
    border-radius: 4px;
}

.bma-actions {
    text-align: center;
}

.bma-btn-primary {
    display: inline-block;
    padding: 14px 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(135deg, #c9a227, #d4af37);
    border-radius: 10px;
    color: #fff !important;
    transition: all 0.3s;
}

.bma-btn-primary:hover {
    box-shadow: 0 8px 20px rgba(201, 162, 39, 0.4);
}

@media (max-width: 600px) {
    .bma-verify-card {
        padding: 25px;
    }
    .bma-details-grid {
        grid-template-columns: 1fr;
    }
}
