html, body {
    margin: 0;
    padding: 0;
    background: var(--brand-bg);
}

body, p, div, li, a, input, select, textarea, table, th, td {
    font-family: var(--font-brand-body);
    font-size: 14px;
    color: var(--brand-text);
}

.hidden {
    display: none !important;
}

a {
    text-decoration: none;
}

h1 {
    font-family: var(--font-brand-heading);
    font-weight: normal;
    font-size: 22px;
    margin: 0;
}

.text-center{
    text-align: center;
}

/*----------------------- DIALOGS (usadas por Dialogs.js) */
.alert-icon, .dialog-icon {
    display: block;
    text-align: center;
    font-size: 38px;
    color: var(--brand-primary);
    margin-bottom: 6px;
}
.alert-label {
    font-size: 14px;
    font-weight: bold;
    margin: 5px auto;
    text-align: center;
}
.alert-message, .alert-dialog-content {
    font-size: 14px;
}
.custom-confirm-title {
    font-size: 13px;
    font-weight: bold;
}

.toast-container {
    display: flex;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
    align-items: center;
}
.toast-icon {
    font-size: 30px;
}
.toast-message-box {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.toast-title {
    font-size: 13px;
    text-align: left;
}
.toast-message {
    font-size: 15px;
    text-align: left;
    line-height: 20px;
}

/*----------------------- MODAL (usada por barista-form) */
.custom-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 20000;
}
.modal-dialog {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 90%;
    max-width: 400px;
    box-sizing: border-box;
    background-color: white;
    padding: 20px;
    border-radius: 12px;
}
.modal-dialog .title {
    color: var(--brand-primary);
    font-weight: bold;
    margin: 0 0 6px 0;
    font-size: 18px;
}
.modal-footer {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
    margin-top: 8px;
}
