/* General styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
}

.container {
    max-width: 90% !important;
    width: 70%;
    margin: auto;
    padding: 20px;
}

.text-primary {
    color: #2F4F4F !important; 
    font-weight: bold;
}

/* Buttons */
.btn {
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-success {
    background-color: #28a745;
    color: white;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-warning {
    background-color: #ffc107;
    color: black;
}


/* Cards */
.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-bottom: 15px;
    width: 100% !important;
    max-width: none !important; 
    margin-left: auto !important; 
    margin-right: auto !important;
}

.card-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.card-highlight {
    background-color: #f8f9fa;
    border-left: 5px solid #2F4F4F;
    cursor: pointer;
    padding-left: 10px;
}

.card-highlight-no-cursor {
    background-color: #f8f9fa;
    border-left: 5px solid #2F4F4F;
    padding-left: 10px;
}

.card-full {
    width: 100%;
    max-width: 100%;
}

.d-flex {
    display: flex;
}

.flex-gap {
    gap: 10px; 
}

.align-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.gap-10 {
    gap: 10px;
}

.device-uid {
    flex-basis: 50%;
    text-align: left;
}

/* Margins */
.mb-4 {
    margin-bottom: 20px;
}

.mx-auto {
    margin: 0 auto;
}

/* QR Code Images */
.qr-code-img {
    width: 350px;
    height: 350px;
    display: block;
    margin: 0 auto 15px auto;
}

/* Messages */
.alert {
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.text-danger {
    color: red;
}
