/*================================================================================
	Item Name: Stack - Responsive Admin Theme
	Author: PIXINVENT
	Author URL: http://www.themeforest.net/user/pixinvent
================================================================================

NOTE:
------
PLACE HERE YOUR OWN SCSS CODES AND IF NEEDED, OVERRIDE THE STYLES FROM THE OTHER STYLESHEETS.
WE WILL RELEASE FUTURE UPDATES SO IN ORDER TO NOT OVERWRITE YOUR STYLES IT'S BETTER LIKE THIS.  */

.padding-left-right-10 {
    padding-left: 10px;
    padding-right: 10px;
}

.padding-left-right-20 {
    padding-left: 20px;
    padding-right: 20px;
}

.padding-left-right-50 {
    padding-left: 50px;
    padding-right: 50px;
}

.padding-left-right-100 {
    padding-left: 100px;
    padding-right: 100px;
}

.time-ligne-200 {
    min-width: 200px !important;
    max-width: 300px !important;
}

input.form-control {
    height: 35px !important;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    font-size: 15px !important;
}

.select2-selection__rendered {
    line-height: 31px !important;
}

.select2-container .select2-selection--single {
    height: 33px !important;
}

.select2-selection__arrow {
    height: 33px !important;
}

.upload_file_input {
    border: 1px solid #5E5E5E;
    border-radius: 10px;
    padding: 10px;
    margin: 10px;
}

.btn {
    padding: 5px 5px !important;
}

.text-10 {
    font-size: 10px !important;
}

.text-12 {
    font-size: 12px !important;
}

.text-13 {
    font-size: 13px !important;
}

.text-14 {
    font-size: 14px !important;
}

.text-15 {
    font-size: 15px !important;
}

.text-16 {
    font-size: 16px !important;
}

.text-18 {
    font-size: 18px !important;
}

.text-20 {
    font-size: 20px !important;
}

.text-25 {
    font-size: 25px !important;
}

.text-30 {
    font-size: 30px !important;
}

.text-upper {
    text-transform: uppercase !important;
}

.text-lower {
    text-transform: lowercase !important;
}

.text-bold {
    font-weight: bold !important;
}

.width-50 {
    width: 50% !important;
}

.width-30 {
    width: 30% !important;
}

.width-31 {
    width: 31% !important;
}

.width-32 {
    width: 32% !important;
}

.width-33 {
    width: 33% !important;
}

.width-3 {
    width: 3% !important;
}

.width-35 {
    width: 35% !important;
}

.width-20 {
    width: 20% !important;
}

.width-25 {
    width: 20% !important;
}

.width-15 {
    width: 15% !important;
}

.width-12 {
    width: 12% !important;
}

.width-10 {
    width: 10% !important;
}

.width-11 {
    width: 11% !important;
}

.width-8 {
    width: 8% !important;
}

.width-9 {
    width: 9% !important;
}

.width-6 {
    width: 6% !important;
}

.width-5 {
    width: 5% !important;
}

.width-2 {
    width: 2% !important;
}

.table-overflow {
    max-height: 500px;
    overflow: auto;
}

.table-few-overflow {
    max-height: 200px;
    overflow: auto;
}

.table-middle-overflow {
    max-height: 250px;
    overflow: auto;
}

.table-middle-overflow-1 {
    max-height: 45vh;
    overflow: auto;
}

.table-little-overflow {
    max-height: 300px;
    overflow: auto;
}

.table-little-overflow-1 {
    max-height: 35vh;
    overflow: auto;
}

.block-shadow-ligth {
    background-color: #ffffff;
    border: 1px solid transparent;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    margin-left: -1px;
    margin-right: -1px;
    margin-top: 10px;
    padding: 5px 11px 5px 33px;
    text-overflow: ellipsis;
}

.block-shadow-grey {
    background-color: #d9ebf8;
    border: 1px solid transparent;
    box-shadow: 0 2px 2px grey;
    box-sizing: border-box;
    margin-left: -1px;
    margin-right: -1px;
    margin-top: 10px;
    padding: 5px 11px 5px 33px;
    text-overflow: ellipsis;
}

.block-shadow-blue {
    background-color: lightblue;
    border: 1px solid transparent;
    box-shadow: 0 2px 2px rgb(13, 79, 141);
    box-sizing: border-box;
    margin-left: -1px;
    margin-right: -1px;
    margin-top: 10px;
    padding: 5px 11px 5px 33px;
    text-overflow: ellipsis;
}

.block-shadow-green {
    background-color: rgb(136, 238, 238);
    border: 1px solid transparent;
    box-shadow: 0 2px 2px teal;
    box-sizing: border-box;
    margin-left: -1px;
    margin-right: -1px;
    margin-top: 10px;
    padding: 5px 11px 5px 33px;
    text-overflow: ellipsis;
}

.block-shadow-danger {
    background-color: #f7c1c1;
    border: 1px solid transparent;
    box-shadow: 0 2px 2px rgb(225, 109, 109);
    box-sizing: border-box;
    margin-left: -1px;
    margin-right: -1px;
    margin-top: 10px;
    padding: 5px 11px 5px 33px;
    text-overflow: ellipsis;
}


/*#sidebar ul.menu-categories li.menu
{
	margin-bottom: 10px !important;
}*/

.click-zoom input[type=checkbox] {
    display: none
}

.click-zoom img {
    margin: 10px;
    transition: transform 0.25s ease;
    cursor: zoom-in
}

.click-zoom input[type=checkbox]:checked~img {
    transform: scale(3);
    cursor: zoom-out
}

.avatar-xl {
    width: 150px !important;
    height: 80px !important;
}

.avatar-xl-1 {
    width: 300px !important;
    height: 150px !important;
}

.avatar-xl-1 img {
    margin: 0px !important;
}

#content {
    margin-top: 45px !important;
}

.btn.rounded-circle {
    height: 33px;
    width: 33px;
    padding: 5px 5px;
}

.btn svg {
  width: 17px;
  height: 17px;
  vertical-align: middle;
}

.modal-content .modal-body p {
    color: #343a40 !important;
}

.table-bordered {
    border: 1px solid #e9ecef !important;
}
.table-bordered th,
.table-bordered td {
    border: 1px solid #e9ecef !important;
}
.table-bordered thead th,
.table-bordered thead td {
    border-bottom-width: 2px !important;
}

.table-responsive > .table-bordered {
    border: 1px solid #e9ecef !important;
}

.sidebar-wrapper {
    width: 230px;
}

#content {
    margin-left: 230px;
}

.form-group label, label {
    font-size: 15px;
    color: #41444e;
    letter-spacing: 1px;
}

.note-editor.note-frame.fullscreen {
    background-color: white;
}

.badge {
    line-height: 1.5;
    padding: 0px 3px;
    font-size: 12px;
    font-weight: 500;
  }

  .btn-search {
    padding: 5px 12px !important;
  }

  .custom-file-container__image-preview {
    margin-top: 50px !important;
    margin-bottom: 30px !important;
    height: 150px !important;
  }

  .component-card_4 {
    width: 100% !important;
  }

  .img-fluid-1 {
    width: 200px !important;
    height: 200px !important;
  }

  .btn {
        padding: 12px 24px;
        border-radius: 8px;
        font-weight: 600;
        cursor: pointer;
        border: none;
        transition: all 0.3s ease;
        font-size: 1rem;
    }

    .btn-secondary {
        background: #e2e8f0;
        color: var(--text-secondary);
    }

    .btn-secondary:hover {
        background: #cbd5e0;
    }

    .btn-primary {
        background: var(--primary-gradient);
        color: white;
    }

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    }

    /* Montants Cards */
    .amounts-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 10px;
        margin-bottom: 20px;
    }

    .amount-card {
        background: #f8fafc;
        border-radius: 16px;
        padding: 15px;
        border: 2px solid #e2e8f0;
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .amount-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        border-radius: 16px 16px 0 0;
    }

    .amount-card.total::before { background: linear-gradient(90deg, #1e293b, #475569); }
    .amount-card.paid::before { background: linear-gradient(90deg, #059669, #10b981); }
    .amount-card.remaining::before { background: linear-gradient(90deg, #d97706, #f59e0b); }

    .amount-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    }

    .amount-label {
        font-size: 14px;
        font-weight: 500;
        color: #64748b;
        margin-bottom: 8px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .amount-value {
        font-size: 20px;
        font-weight: 700;
        color: #1e293b;
    }

    .amount-card.paid .amount-value { color: #059669; }
    .amount-card.remaining .amount-value { color: #d97706; }

    /* BIC Section Condensée */
    .bic-compact-panel {
        background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
        border-radius: 10px;
        padding: 16px;
        border: 1px solid #cbd5e0;
        margin-top: 15px;
    }

    .bic-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-bottom: 12px;
        cursor: pointer;
        font-weight: 600;
        font-size: 0.95rem;
        color: #334155;
    }

    .bic-toggle input[type="checkbox"] {
        width: 18px;
        height: 18px;
        accent-color: #3b82f6;
    }

    .bic-calculations {
        display: none;
        background: white;
        border-radius: 8px;
        padding: 12px;
        margin-top: 8px;
        border: 1px solid #e2e8f0;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }

    .bic-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 6px 0;
        font-size: 0.9rem;
    }

    .bic-row:not(:last-child) {
        border-bottom: 1px solid #f1f5f9;
        margin-bottom: 6px;
        padding-bottom: 8px;
    }

    .bic-row .label {
        color: #64748b;
        font-weight: 500;
    }

    .bic-row .value {
        font-weight: 700;
        color: #1e293b;
    }

    .bic-row.deduction .value {
        color: #dc2626;
    }

    .bic-row.final .value {
        color: #059669;
        font-size: 1rem;
    }

    .select2-container--classic .select2-selection--single .select2-selection__rendered {
        font-size: 12px !important;
    }

    .btn-primary {
        background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) !important;
        color: white;
    }

    .btn-gradient-primary {
        background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
        color: white;
    }

    .btn-gradient-primary:hover {
        background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
        color: white;
    }

    .btn-primary {
        box-shadow: none !important;
    }

    .btn-primary:hover {
        box-shadow: 0 10px 20px -10px #1e3c72 !important;
    }