/* Custom styles for WhatsApp Gateway */

body {
    background-color: #f5f5f5;
    padding-bottom: 60px;
}

.navbar {
    margin-bottom: 20px;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 60px;
    line-height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
}

.card {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.card-header {
    background-color: #f8f9fa;
    font-weight: 500;
}

.table th {
    background-color: #f8f9fa;
}

/* Styles for QR code display */
#qr-code-container {
    padding: 20px;
    background-color: white;
    display: inline-block;
    margin: 0 auto;
    border-radius: 5px;
    border: 1px solid #ddd;
}

#qr-code-container img {
    max-width: 100%;
    height: auto;
}

/* Styles for pairing code display */
.code-display {
    background-color: white;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-family: monospace;
    letter-spacing: 3px;
}

/* Status badges */
.badge.bg-success {
    background-color: #28a745 !important;
}

.badge.bg-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

.badge.bg-danger {
    background-color: #dc3545 !important;
}

.badge.bg-secondary {
    background-color: #6c757d !important;
}

/* Button spacing in action groups */
.btn-group .btn {
    margin-right: 2px;
}

/* Responsive tables */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Alerts with icons */
.alert i {
    margin-right: 8px;
}
