/* Custom styles for BCCTAP beyond Tailwind */

/* QR Code Scanner container */
.qr-scanner-container {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.qr-scanner-container video {
    width: 100%;
    border-radius: 0.5rem;
}

.scanner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid rgba(59, 130, 246, 0.5);
    border-radius: 0.5rem;
    z-index: 2;
    pointer-events: none;
}

.scanner-laser {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    background: rgba(59, 130, 246, 0.8);
    z-index: 3;
    animation: scan 2s infinite;
}

@keyframes scan {
    0% {
        top: 20%;
    }
    50% {
        top: 80%;
    }
    100% {
        top: 20%;
    }
}

/* Map container */
.map-container {
    width: 100%;
    height: 300px;
    border-radius: 0.5rem;
    overflow: hidden;
}

/* Custom form styling */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.form-control {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #D1D5DB;
    border-radius: 0.375rem;
    background-color: #F9FAFB;
}

.form-control:focus {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

/* Alert messages */
.alert {
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border-radius: 0.375rem;
}

.alert-success {
    background-color: #D1FAE5;
    border: 1px solid #34D399;
    color: #065F46;
}

.alert-danger {
    background-color: #FEE2E2;
    border: 1px solid #F87171;
    color: #B91C1C;
}

.alert-warning {
    background-color: #FEF3C7;
    border: 1px solid #FBBF24;
    color: #92400E;
}

.alert-info {
    background-color: #DBEAFE;
    border: 1px solid #60A5FA;
    color: #1E40AF;
}

/* Card styles */
.card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.card-header {
    padding: 1rem;
    background-color: #F9FAFB;
    border-bottom: 1px solid #E5E7EB;
}

.card-body {
    padding: 1rem;
}

.card-footer {
    padding: 1rem;
    background-color: #F9FAFB;
    border-top: 1px solid #E5E7EB;
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-weight: 500;
    text-align: center;
    border-radius: 0.375rem;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-primary {
    background-color: #3B82F6;
    color: white;
}

.btn-primary:hover {
    background-color: #2563EB;
}

.btn-secondary {
    background-color: #6B7280;
    color: white;
}

.btn-secondary:hover {
    background-color: #4B5563;
}

.btn-success {
    background-color: #10B981;
    color: white;
}

.btn-success:hover {
    background-color: #059669;
}

.btn-danger {
    background-color: #EF4444;
    color: white;
}

.btn-danger:hover {
    background-color: #DC2626;
} 