.flex{
    display: flex;
}

.header-list{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.content-block{
    display: flex;
    justify-content: center; 
    align-items: center; 
    background-color: #f4f4f4; 
}


.content-block form{
    background: white; 
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.direccion-col{
    flex-direction: column;
}

.center{
    display: flex;
    justify-content: center;
}

/* toast*/
#toast {
    visibility: hidden;
    min-width: 250px;
    color: white;
    text-align: center;
    padding: 16px;
    position: fixed;
    left: 50%;
    top: 80px;
    transform: translateX(-50%);
    border-radius: 5px;
    font-size: 16px;
    z-index: 9999;
}

#toast.show {
    visibility: visible;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeout {
    from { opacity: 1; }
    to { opacity: 0; }
}

.hidden {
    display: none;
}

.show-table{
    display: table-row;
}

/* modal */

.modal-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    display: none;
    z-index: 1000;
    max-width: 450px;
    width: 100%;
}

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

.modal .modal-message {
    margin-bottom: 20px;
}

.modal .modal-confirm,
.modal .modal-cancel {
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
}

.modal .modal-confirm {
    background-color: #4CAF50;
    border: none;
    color: white;
}

.modal .modal-cancel {
    background-color: #f44336;
    border: none;
    color: white;
}

.btn-confirm{
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
}
.btn-cancel{
    background-color: #f44336;
    border: none;
    color: white;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
}

/** estilos basicos por ponerlo como ponente principal **/

/* Margenes */
.mb-1 {
    margin-bottom: 8px;
}

.mb-2 {
    margin-bottom: 16px;
}

.mb-3 {
    margin-bottom: 24px;
}


.mt-1 {
    margin-top: 8px;
}

.ml-1 {
    margin-left: 8px;
}

.mr-1 {
    margin-right: 8px;
}

.m-1 {
    margin: 8px;
}

/* Padding */
.pl-16 {
    padding-left: 16px;
}

.pr-16 {
    padding-right: 16px;
}

.pt-16 {
    padding-top: 16px;
}

.pb-16 {
    padding-bottom: 16px;
}

.p-16 {
    padding: 16px;
}

/* Display */
.d-flex {
    display: flex;
}

.d-block {
    display: block;
}

.d-inline {
    display: inline;
}

.d-none {
    display: none;
}

/* Centering */
.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-vertical {
    display: flex;
    align-items: center;
}

.center-horizontal {
    display: flex;
    justify-content: center;
}

/* Widths */
.w-full {
    width: 100%;
}

.w-50 {
    width: 50%;
}

.w-25 {
    width: 25%;
}

/* Heights */
.h-full {
    height: 100%;
}

.h-auto {
    height: auto;
}

/* Flexbox utilities */
.flex-row {
    flex-direction: row;
}

.flex-column {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

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

.justify-center {
    justify-content: center;
}

/* Border radius */
.rounded {
    border-radius: 8px;
}

.rounded-sm {
    border-radius: 4px;
}

/* Background colors */
.bg-primary {
    background-color: #3498db; /* Azul */
}

.bg-secondary {
    background-color: #2ecc71; /* Verde */
}

.bg-light {
    background-color: #ecf0f1; /* Gris claro */
}

.bg-dark {
    background-color: #2c3e50; /* Gris oscuro */
}

.text-white {
    color: white;
}

/* Text alignment */
.text-center {
    text-align: center;
}

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

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

/* Font size */
.text-sm {
    font-size: 12px;
}

.text-md {
    font-size: 16px;
}

.text-lg {
    font-size: 20px;
}

.text-xl {
    font-size: 24px;
}

/* Opacity */
.opacity-50 {
    opacity: 0.5;
}

.opacity-75 {
    opacity: 0.75;
}

/* Shadows */
.shadow-md {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.shadow-lg {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Misc */
.cursor-pointer {
    cursor: pointer;
}

.pointer-events-none {
    pointer-events: none;
}

.hidden {
    display: none;
}

/*table with */
tr > td > select,
tr > td > input {
    width: 100%;
}

.form-group{
    margin: 10px;
    display: flex;
    gap: 20px;
}

.form-actions{
    display: flex;
    align-items: center;
    gap: 20px;
}

.modal-detail-user-cashback{
    max-width: 700px;
}