*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* body{
  
    font-family:monospace;
} */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: rgb(227, 235, 252);
    color: #333;
    margin: 0;
    padding: 0;
}
.container{
    width: 100%;
}
p{
    margin: 0;
}
#form{
    width: 100%;
    display: flex;
    justify-content: space-between;align-items: center;
    flex-flow:wrap row;
}
.champ{
    width:44% ;
}

/* ..Cheque */
#cheque{
    /* height: 80mm;  width: 175mm; */
    max-height: 77mm;min-height: 77mm;
    max-width: 175mm;min-width: 175mm;
    font-size: 10px;
    /* background: url(./images/cheque_societe_generale.png); */
    background-size: cover;
   position: relative;
}
#lcn{
    /* height: 80mm;  width: 175mm; */
    max-height: 80mm;min-height: 80mm;
    max-width: 155mm;min-width: 155mm;
    font-size: 10px;
    /* background: url(./images/LCN_BMCE_BANK_OF_AFRICA.png); */
    background-size: contain;
    background-repeat: no-repeat;
   position: relative;
}
#montant_chiffre{
    position: absolute;
}
#montant_lettre{
    position: absolute;
}
#ordre_id{
    position: absolute;
}
#cheque_lieu{
    position: absolute;
}
#cheque_date{
    position: absolute;
}
#numero_compte{
    position: absolute;
}
#numero_serie{
    position: absolute;
}
#numero_cheque{
    font-size:8px ;
    position: absolute;
}

#section_two,#section_two_lcn{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}
.para_position{
    display: flex;justify-content: space-between;align-items: center;flex-wrap: wrap;
}
#section_two.vertical #cheque{
    transform: rotate(90deg);
}
#section_two_lcn.vertical #lcn{
    transform: rotate(90deg);
}
#form-add{
    width: 100%;
}
.form-element{
    width: 30%;
}
.form-element-b{
    width: 20%;
}
.part-two{
    width: 100%;
    margin-top: 3em;
}
.form-element-b{
    width: 21%;
}
/* ....For Print */
 @media print { 
    .no-print {
        display: none;
        visibility: hidden;
    }
    #cheque.vertical{
        transform: rotate(90deg);
    }
  }

  /* ............Accuiel style ............ */
/* Navbar and Tabs */
.nav-tabs {
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 1rem;
}

.nav-link {
    font-size: 1rem;
    border-radius: 0;
    padding: 0.75rem 1.25rem;
    transition: color 0.3s, 
    /* background-color 0.3s; */
}

.nav-link.active {
    color: #ffffff;
    background-color: #007bff;
    border: 1px solid #007bff;
    border-radius: 4px;
}

.nav-link:hover {
    color: #ffffff;
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Container
.container {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 900px;
} */

/* Headings */
h1, h5 {
    color: #004085;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h5 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

/* Forms */
.form-label {
    font-weight: 600;
    color: #333;
}

.form-select, .form-control {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 0.75rem 1.25rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-select:focus, .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.25);
}

.input-group .form-control {
    border-radius: 0;
}

.input-group .form-select {
    border-radius: 0;
}

.form-control::placeholder {
    color: #6c757d;
}

/* Buttons */
.btn-light {
    background-color: #f8f9fa;
    color: #007bff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 0.75rem 1.25rem;
    transition: background-color 0.3s, border-color 0.3s;
}

.btn-light:hover {
    background-color: #e2e6ea;
    border-color: #007bff;
}

.btn-light:focus, .btn-light:active {
    outline: none;
    box-shadow: none;
}

/* Print Button */
#imprimer {
    border-radius: 4px;
}

.btn-light i {
    margin-left: 0.5rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .btn-light {
        width: 100%;
        margin-bottom: 10px;
    }

    .form-control, .form-select {
        width: 100%;
    }

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

/* Additional Enhancements */
.champ {
    margin-bottom: 1rem;
}

.champ:last-child {
    margin-bottom: 0;
}

.text-primary {
    color: #007bff !important;
}

.bg-light {
    background-color: #f8f9fa !important;
}
/* .............liste style.......... */

/* Container */
.container {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    margin: 20px auto;
    max-width: 1000px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
}

/* Heading */
h3 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

/* Buttons */
.btn-light {
    background-color: #ffffff;
    color: #007bff;
    border: 1px solid #007bff;
    border-radius: 5px;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.btn-light:hover {
    background-color: #e9f5ff;
    border-color: #0056b3;
    color: #0056b3;
}

.text-bg-primary {
    background-color: #007bff;
    color: #ffffff;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.text-bg-primary:hover {
    background-color: #0056b3;
}

.text-bg-danger {
    background-color: #dc3545;
    color: #ffffff;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.text-bg-danger:hover {
    background-color: #c82333;
}

/* List Group */
.list-group {
    margin-top: 20px;
}

.list-group-item {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    margin-bottom: 15px;
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 15px;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.list-group-item:hover {
    background-color: #f8f9fa;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.list-group-item .fw-bold {
    color: #007bff;
    font-size: 1.1rem;
}

.list-group-item img {
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid #007bff;
}

.ms-2 {
    margin-left: 0.5rem;
}

.me-auto {
    margin-right: auto;
}

.d-flex {
    display: flex;
}

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

.justify-content-between {
    justify-content: space-between;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .btn-light {
        width: 100%;
        margin-bottom: 10px;
    }

    .list-group-item {
        padding: 10px;
    }
}
/* ..................... Add Page style .......... */

h3 {
    color: #007bff;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

/* Form Elements */
.form-element {
    margin-bottom: 20px;
}

.form-element h6 {
    color: #007bff;
    font-weight: 500;
    margin-bottom: 10px;
}

.form-element label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-control {
    border-radius: 4px;
    border: 1px solid #ced4da;
    padding: 10px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.25);
}

/* Buttons */
.btn {
    border-radius: 4px;
    font-weight: 500;
    padding: 10px 20px;
    transition: background-color 0.3s, color 0.3s;
}

.btn-light {
    background-color: #ffffff;
    color: #007bff;
    border: 1px solid #007bff;
}

.btn-light:hover {
    background-color: #e9f5ff;
    color: #0056b3;
}

.btn-secondary {
    background-color: #6c757d;
    color: #ffffff;
    border: none;
}

.btn-secondary:hover {
    background-color: #5a6268;
}


/* Responsive  */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .form-element {
        margin-bottom: 15px;
    }
}

