﻿.btn {
    border-radius: 15px;
    /*padding: 6px 16px;*/
    font-size: 13px;
    /*font-weight: 600;*/
    /*text-transform: uppercase;*/
    transition: background 0.25s ease, transform 0.2s ease;
}

.form-control {
    border-radius: 15px;
}

/* Azul elegante */
.btn-primary {
    background: linear-gradient(to right, #257eeb, #1d69d8);
    color: #fff;
}

    .btn-primary:hover {
        background: linear-gradient(to right, #1d69d8, #257eeb);
        /*transform: scale(1.03);*/
    }

/* Verde suave */
.btn-success {
    background: linear-gradient(to right, #22c55e, #16a34a);
    color: #fff;
}

    .btn-success:hover {
        background: linear-gradient(to right, #15803d, #22c55e);
        /*transform: scale(1.03);*/
    }

/* Celeste frío */
.btn-info {
    background: linear-gradient(to right, #0ea5e9, #0284c7);
    color: #fff;
}

    .btn-info:hover {
        background: linear-gradient(to right, #0369a1, #0ea5e9);
        /*transform: scale(1.03);*/
    }

/* Amarillo firme */
.btn-warning {
    background: linear-gradient(to right, #facc15, #eab308);
    color: #111;
}

    .btn-warning:hover {
        background: linear-gradient(to right, #ca8a04, #eab308);
        /*transform: scale(1.03);*/
    }

/* Rojo fuerte */
.btn-danger {
    background: linear-gradient(to right, #ef4444, #dc2626);
    color: #fff;
}

    .btn-danger:hover {
        background: linear-gradient(to right, #b91c1c, #ef4444);
        /*transform: scale(1.03);*/
    }

/* Gris neutro */
.btn-default {
    background: linear-gradient(to right, #dee4ed, #c6c9cd);
    color: #111;
}

    .btn-default:hover {
        background: linear-gradient(to right, #c6c9cd, #dee4ed);
        /*transform: scale(1.03);*/
    }

/*Botones personalizados*/
/* Confirmar (verde suave) */
.btn.confirm {
    background: linear-gradient(to right, #22c55e, #16a34a);
    border: none;
    color: #fff;
    border-radius: 15px;
    transition: background 0.25s ease;
}

    .btn.confirm:hover, .btn.confirm:active {
        background: linear-gradient(to right, #15803d, #22c55e);
    }

/* Esperando (naranja suave) */
.btn.wait {
    background: linear-gradient(to right, #fbbf24, #f59e0b);
    border: none;
    color: #111;
    border-radius: 15px;
    transition: background 0.25s ease;
}

    .btn.wait:hover, .btn.wait:active {
        background: linear-gradient(to right, #d97706, #fbbf24);
    }

/* Finalizado / Facturado (verde azulado elegante) */
.btn.finish,
.btn.invoice {
    background: linear-gradient(to right, #5f8c8e, #3a5f60);
    border: none;
    color: #fff;
    border-radius: 15px;
    transition: background 0.25s ease;
}

    .btn.finish:hover,
    .btn.invoice:hover,
    .btn.finish:active,
    .btn.invoice:active {
        background: linear-gradient(to right, #639a9c, #3a5f60);
    }

/*Botones personalizados*/

/* backgrounds*/

.bg-primary {
    background-color: #257eeb !important;
    color: #fff !important;
}

.bg-success {
    background-color: #22c55e !important;
    color: #fff !important;
}

.bg-info {
    background-color: #0ea5e9 !important;
    color: #fff !important;
}

.bg-warning {
    background-color: #facc15 !important;
    color: #111 !important;
}

.bg-danger {
    background-color: #ef4444 !important;
    color: #fff !important;
}

.bg-default {
    background-color: #dee4ed !important;
    color: #111 !important;
}

/*Paneles*/
.panel-primary {
    border-color: #257eeb;
}

    .panel-primary > .panel-heading {
        background-color: #257eeb;
        color: #fff;
        border-color: #1d69d8;
    }

.panel-success {
    border-color: #33f079;
}

    .panel-success > .panel-heading {
        background-color: #a1d9ac;
        color: #fff;
        border-color: #a1d9ac;
    }

.panel-info {
    border-color: #0ea5e9;
}

    .panel-info > .panel-heading {
        background-color: #0ea5e9;
        color: #fff;
        border-color: #0284c7;
    }

.panel-warning {
    border-color: #facc15;
}

    .panel-warning > .panel-heading {
        background-color: #facc15;
        color: #111;
        border-color: #eab308;
    }

.panel-danger {
    border-color: #ef4444;
}

    .panel-danger > .panel-heading {
        background-color: #ef4444;
        color: #fff;
        border-color: #dc2626;
    }

.panel-default {
    border-color: #dee4ed;
}

    .panel-default > .panel-heading {
        background-color: #dee4ed;
        color: #111;
        border-color: #c6c9cd;
    }


/*switch*/
.bootstrap-switch {
    border-radius: 15px;
    border: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    height: 28px;
}

    .bootstrap-switch .bootstrap-switch-handle-on,
    .bootstrap-switch .bootstrap-switch-handle-off {
        border-radius: 15px;
        transition: background 0.25s ease;
    }

    /* Primary */
    .bootstrap-switch.bootstrap-switch-on .bootstrap-switch-handle-on {
        background: linear-gradient(to right, #257eeb, #1d69d8);
        color: white;
    }

    .bootstrap-switch.bootstrap-switch-off .bootstrap-switch-handle-off {
        background: #ccc;
        color: #333;
    }

    /* Success */
    .bootstrap-switch.bootstrap-switch-primary .bootstrap-switch-handle-on {
        background: linear-gradient(to right, #22c55e, #16a34a);
        color: white;
    }

    .bootstrap-switch.bootstrap-switch-success .bootstrap-switch-handle-on {
        background: linear-gradient(to right, #22c55e, #16a34a);
        color: white;
    }

    /* Info */
    .bootstrap-switch.bootstrap-switch-info .bootstrap-switch-handle-on {
        background: linear-gradient(to right, #0ea5e9, #0284c7);
        color: white;
    }

    /* Warning */
    .bootstrap-switch.bootstrap-switch-warning .bootstrap-switch-handle-on {
        background: linear-gradient(to right, #facc15, #eab308);
        color: #111;
    }

    /* Danger */
    .bootstrap-switch.bootstrap-switch-danger .bootstrap-switch-handle-on {
        background: linear-gradient(to right, #ef4444, #dc2626);
        color: white;
    }

    /* Default */
    .bootstrap-switch.bootstrap-switch-default .bootstrap-switch-handle-on {
        background: linear-gradient(to right, #dee4ed, #c6c9cd);
        color: #111;
    }

/*switch*/

/*input addon*/
.input-group-addon {
    background: linear-gradient(to right, #dee4ed, #c6c9cd); /* igual que .btn-default */
    color: #111;
    font-weight: bold;
    border: none;
    border-radius: 15px;
    padding: 6px 12px;
    font-size: 13px;
    transition: background 0.3s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

    .input-group-addon.addon-primary {
        background: linear-gradient(to right, #257eeb, #1d69d8);
        color: #fff;
    }

    .input-group-addon.addon-success {
        background: linear-gradient(to right, #22c55e, #16a34a);
        color: #fff;
    }

    .input-group-addon.addon-info {
        background: linear-gradient(to right, #0ea5e9, #0284c7);
        color: #fff;
    }

    .input-group-addon.addon-warning {
        background: linear-gradient(to right, #facc15, #eab308);
        color: #111;
    }

    .input-group-addon.addon-danger {
        background: linear-gradient(to right, #ef4444, #dc2626);
        color: #fff;
    }


/*input addon*/