/* Custom styles for QR code application */
:root {
    --gradient-start: #0d3d56;
    --gradient-end: #22b5b5;
}

body {
    background-color: var(--bs-dark);
    color: var(--bs-light);
}

.card {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-title {
    color: white;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.card-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.form-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.input-group {
    margin-bottom: 1rem;
}

.form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.1);
}

.btn-primary {
    background-color: var(--bs-light);
    border: none;
    color: var(--gradient-start);
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: white;
    transform: translateY(-2px);
}

.qr-code-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.qr-code-image {
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Modal styling */
.modal-content {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border: none;
    border-radius: 12px;
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    color: white;
}

.modal-body {
    color: rgba(255, 255, 255, 0.9);
}


/* Alert styling */
.alert {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.2);
    color: #ff6b6b;
}

.form-check-label {
    color: rgba(255, 255, 255, 0.9);
}