* {
    font-family: verdana, sans-serif, tahoma;
}

.themeth {
    background: #EDF3F4 !important;
    color: #336199 !important;
    padding: 10px !important;
}

/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 200px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.box_all_components {
    border: rgb(193, 193, 193) solid 0.5px;
}

.container_ta {
    width: 500px;
    /* height: 70px; */
    padding: 5px;
    display: flex;
    gap: 40px;
}

/* .components_list{
    width: 150px;
}
.operators_list{
    width: 150px;
} */
.added_items {
    padding: 5px;
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.add_items button {
    flex: 1 1 auto;
}

.show_on_hover i {
    display: none;
}

.show_on_hover:hover i {
    display: block;
}

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

/* .components_ta{
    position: absolute;
    background-color: red;
}
.component_select{
    position: absolute;
    top: 5px;
    left: 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);;
} */

/* toggle button */

.switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 22px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #2196F3;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(19px);
    -ms-transform: translateX(19px);
    transform: translateX(19px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* toggle button */

.thead-color th {
    background-color: #F1F2F3;
}


.display-flex {
    display: flex;
}

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

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

.p1 {
    padding: 1px;
}

.p2 {
    padding: 2px;
}

.p3 {
    padding: 3px;
}

.p4 {
    padding: 4px;
}

.p5 {
    padding: 5px;
}

.p6 {
    padding: 6px;
}

.p7 {
    padding: 7px;
}

.p8 {
    padding: 8px;
}

.p9 {
    padding: 9px;
}

.p10 {
    padding: 10px;
}

.plane-border,
.plane-border td,
.plane-border th {
    border: 1px solid black;
    border-collapse: collapse;
}

.pad10 td,
.pad10 th {
    padding: 10px;
}

@media print {
    .plane-border table {
        page-break-inside: auto;
    }

    .plane-border thead {
        display: table-header-group;
    }

    .plane-border tbody {
        display: table-row-group;
    }

    .plane-border tr {
        page-break-inside: avoid;
        page-break-after: auto;
    }

    a:link:after,
    a:visited:after {
        content: none;
    }
}

.sticky-thead {
    position: sticky;
    top: 0px;
}



.pt1 tr td,
.pt1 tr th {
    padding: 1px;
}

.pt2 tr td,
.pt2 tr th {
    padding: 2px;
}

.pt3 tr td,
.pt3 tr th {
    padding: 3px;
}

.pt4 tr td,
.pt4 tr th {
    padding: 4px;
}

.pt5 tr td,
.pt5 tr th {
    padding: 5px;
}

.pt6 tr td,
.pt6 tr th {
    padding: 6px;
}

.pt7 tr td,
.pt7 tr th {
    padding: 7px;
}

.pt8 tr td,
.pt8 tr th {
    padding: 8px;
}

.pt9 tr td,
.pt9 tr th {
    padding: 9px;
}

.pt10 tr td,
.pt10 tr th {
    padding: 10px;
}

.black-border th,
.black-border td {
    border: 1px solid black !important;
}

.black-border {
    border-collapse: collapse;
}

.black-text th,
.black-text td {
    color: black !important;
}

.lsp-1 {
    letter-spacing: 1px;
}

.lsp-1 {
    letter-spacing: 1px;
}

.lsp-2 {
    letter-spacing: 2px;
}

.lsp-3 {
    letter-spacing: 3px;
}

.lsp-4 {
    letter-spacing: 4px;
}

.lsp-5 {
    letter-spacing: 5px;
}

.lsp-6 {
    letter-spacing: 6px;
}

.lsp-7 {
    letter-spacing: 7px;
}

.lsp-8 {
    letter-spacing: 8px;
}

.lsp-9 {
    letter-spacing: 9px;
}

.lsp-10 {
    letter-spacing: 10px;
}




.lh-1 {
    line-height: 1rem;
}

.lh-2 {
    line-height: 2rem;
}

.lh-3 {
    line-height: 3rem;
}

.lh-4 {
    line-height: 4rem;
}

.lh-5 {
    line-height: 5rem;
}

.lh-6 {
    line-height: 6rem;
}

.lh-7 {
    line-height: 7rem;
}

.lh-8 {
    line-height: 8rem;
}

.lh-9 {
    line-height: 9rem;
}

.lh-10 {
    line-height: 10rem;
}

.tomato {
    color: tomato;
}

.fit-content {
    display: inline-block;
}

.margin-bottom-1 {
    margin-bottom: 1rem;
}

.margin-bottom-2 {
    margin-bottom: 2rem;
}

.margin-bottom-3 {
    margin-bottom: 3rem;
}

.indent-50 {
    text-indent: 50px;
}

.indent-75 {
    text-indent: 75px;
}

.indent-100 {
    text-indent: 100px;
}

.v-center {
    display: flex;
    justify-content: center;
    height: 100%;
    align-items: center;
    gap: 10px;
    justify-content: center;
    vertical-align: middle;
}

@media print {
    
    .v-center {
        display: flex;
        justify-content: center;
        height: 100%;
        align-items: center;
        gap: 10px;
        justify-content: center;
        vertical-align: middle;
    }
}

textarea:disabled, textarea:read-only {
    background-color:  #ebeaea !important; /* Light gray background */
    /* color: #666; Dark gray text color */
    border: 1px solid #ccc; /* Light gray border */
    cursor: not-allowed; /* Show not-allowed cursor */
    /* opacity: 0.6; Make it slightly transparent */
    resize: none; /* Prevent resizing */
}
/*====================== Hover Classes ======================*/
.hover-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-family: Arial, sans-serif;
  }
  
  .hover-container {
    position: relative;
    display: inline-block;
  }
  
  .hover-target {
    /* background-color: #0078d7; */
    /* color: #fff; */
    /* padding: 10px 18px; */
    /* border-radius: 6px; */
    cursor: pointer;
    font-weight: 500;
    user-select: none;
  }
  
  .hover-card {
    position: absolute;
    top: 110%;
    left: 0;
    width: 350px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 10;
  }
  
  /* Hover effect applies independently to each container */
  .hover-container:hover .hover-card {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  /* Optional: Keep card open while hovering on it */
  .hover-card:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
/*====================== Hover Classes ======================*/

.bold{
    font-weight: bold;
}
.min-h-50{
    min-height: 70px;display: flex; align-items: center;
}