/* Personalizzazioni CSS */

/* Migliora l'aspetto delle cards */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Migliora la visibilità dei campi di password */
.key-field {
    font-family: monospace;
}

/* Personalizza il QR code */
#qrcode {
    padding: 10px;
    background-color: white;
    border-radius: 5px;
}

/* Aggiunge un po' di padding ai bottoni nei gruppi */
.btn-group .btn {
    margin-right: 2px;
}

/* Migliora l'aspetto delle tabelle */
.table thead th {
    background-color: rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid var(--bs-primary);
}

/* Footer sticky */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1 0 auto;
    margin-bottom: 30px;
}

.footer {
    flex-shrink: 0;
    margin-top: 50px;
}

/* Styling for pre blocks */
pre {
    white-space: pre-wrap;       /* Since CSS 2.1 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

/* Tooltip styling */
.tooltip {
    font-size: 0.8rem;
}