

/* .pre-scrollable { */

/*

    border: 5px solid black;

    padding-left: 5px;

    padding-top: 5px;

*/

/* } */
.notification-item {
    display: flex;
    align-items: center;
    font-size: 16px;
    cursor: pointer;
}

.notification-item .fa-bell {
    margin-right: 8px;
}

.notification-item .badge {
    background-color: red;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    margin-left: -11px;
    margin-top: -20px;
}

.badge{
    padding: 2px 5px !important;
    font-weight: 600 !important;
}

.disclaimer-box a{
    color: #664d03;
    text-decoration: underline;
}

/* Ensure form sections are visible when restored from draft */
.draft-restored #linerAccessories,
.draft-restored #coverAccessories,
.draft-restored .disclaimer-box {
    display: block !important;
}

.draft-restored h5:has(+ #linerAccessories),
.draft-restored h5:has(+ #coverAccessories),
.draft-restored .mb-3:has([name="stepsQty"]),
.draft-restored .mb-3:has([name="anchorMatch"]) {
    display: block !important;
}

#linerAccessories,
#coverAccessories,
#line-specific-options-container,
.disclaimer-box {
  display: none;
}

h5:has(+ #linerAccessories),
h5:has(+ #coverAccessories),
.stepsQty-container:has([name="stepsQty"]),
.safety-cover-anchor:has([name="anchorMatch"]) {
  display: none;
}

#measureJobForm select {
    padding: 7px;
    width: 100%;
}

.dealer-contact-info-container{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.email-contact::before, .request-email-send::before {
    margin-right: 10px !important;
}

.alert {
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 0;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes spinner-border {
    to { transform: rotate(360deg); }
}

.mf-btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.mf-btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.mf-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mf-modal.active {
  opacity: 1;
  visibility: visible;
}

/* Modal Content */
.mf-modal-dialog {
  width: 100%;
  max-width: 500px;
  margin: 0 20px;
}

.mf-modal-content {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

/* Modal Header */
.mf-modal-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mf-modal-title {
  margin: 0;
  font-size: 2rem;
  color: #333;
  font-weight: 600;
}

.mf-modal-close {
  background: none;
  border: none;
  font-size: 3rem;
  cursor: pointer;
  color: #666;
  padding: 0;
  line-height: 1;
}

/* Modal Body */
.mf-modal-body {
  padding: 20px;
}

.mf-modal-text {
  margin-bottom: 15px;
  color: #555;
  font-size: 1.5rem;
}

.mf-input-group {
  display: flex;
  margin-bottom: 10px;
}

.mf-form-control {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px 0 0 4px;
  font-size: 1.5rem;
  background-color: #f9f9f9;
}

.mf-form-control:focus {
  outline: none;
  border-color: #4a90e2;
}

/* Copy Button */
.mf-copy-btn {
  padding: 10px 15px;
  background-color: #4a90e2;
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  font-size: 1.5rem;
  transition: background-color 0.2s;
}

.mf-copy-btn:hover {
  background-color: #3a7bc8;
}

.mf-copy-btn:active {
  background-color: #2a6bb8;
}

/* Modal Footer */
.mf-modal-footer {
  padding: 15px 20px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: flex-end;
}

.mf-btn {
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1.3rem;
}

.mf-btn-secondary {
  background-color: #f5f5f5;
  color: #333;
  border: 1px solid #ddd;
}

.mf-btn-secondary:hover {
  background-color: #e9e9e9;
}


.dealer-action-container{
    display: flex;
    flex-direction: column;
}



.my-list {

/*    cursor: default;*/

    margin: 2px;

}



.my-list:hover {

    background-color:lightgray;

}



.address-block {

    border: 2px solid lightgray;

    border-radius: 5px;

    padding: 10px;

    margin: 10px;

    margin-top: 2px;

}


   



@media screen{

    header.onlyprint, footer.onlyprint{

/*        display: none;  Hide from screen */

    }

    .report-body{

        margin-top: 30px;

    }

}



@media print {

    header.onlyprint {

        position: fixed;

        top: 0; /* Because it's header */

    }

    footer.onlyprint {

        position: fixed;

        bottom: 0; /* Because it's footer */

    }

    .report-body{

        margin-top: 100px;

    }

}



.table-so-info{

    float: right;

}

.table-so-info * td,.table-so-info * th{

    border:2px solid lightgray;

    text-align: center;

    padding: 5px;

    width: 100px;

}



.table-so-info h3{

    text-align:right;

}



.table-noln{

    border-top: none !important;

}



.glyphicon {

    cursor: pointer;

}



.the-hand {

    cursor: pointer;

}







#SOModal .modal-dialog {

/*    position:absolute;*/

    width:90%;

    right:10px;

/*    overflow-y:scroll;*/

}



legend {

    width:inherit; /* Or auto */

    padding:0 10px; /* To give a bit of padding on the left and right */

    border-bottom:none;

    font-weight: 700;

    font-size: 14px;

    

}

fieldset {

    border: 1px solid #ccc !important;

    padding: 0 1.4em 1.4em 1.4em !important;

    margin: 0 0 1.5em 0 !important;

    border-radius: 5px;

/*

    -webkit-box-shadow:  0px 0px 0px 0px #000;

            box-shadow:  0px 0px 0px 0px #000;

*/

    

}





.my-fieldset {

    background-color: #e6e6e6;

    border-radius: 5px;

}



.frm_collapse{

    cursor: pointer;

}



.frm_collapse + div{

    display: none;

}



.frm_widen{

    width: 350%;

    margin-left: -250%;

}



.frm_to_widen + div{

    display:none;

}



.frt-grp-btn {

    white-space: normal;

    height: auto;

}



.row-eq-height{

    display: table;

}

.row-eq-height>[class*="col-"] {

    float: none;

    display: table-cell;

    vertical-align: top;

}



.ui-dialog { z-index: 1000 !important ;}





.small-display-pill{

    border-radius: 3px;

    padding: 4px;

    border: 2px solid dodgerblue;

    margin: 4px;

    position: relative;

    display: inline-block;

    

}



body {

    background: #00198c14;
    font-family: "Arial"; 
}



        #rectangleCanvas text{
            text-shadow: 0px 0px 5px rgba(255, 255, 255),0px 0px 2px rgba(255, 255, 255);
            /* font-weight: bold; */
            /* z-index: 1000; */
            /* border: 5px white; */
            /* stroke-width: 1px; */
            /* background-color: white; */
        }
        #rectangleCanvas line,
        #rectangleCanvas path {
            vector-effect: non-scaling-stroke;

            stroke-width: 2;
            /* Set the line thickness to x pixels */
            stroke: rgb(54, 54, 54);
            /* Default line color */
            cursor: pointer;
            /* Change cursor on mouseover */
            stroke-linecap: round;
        }
  
        #rectangleCanvas line:hover,
        #rectangleCanvas path:hover,
        #rectangleCanvas .highlight{
            stroke:blue; 
            stroke-width: 9;
            /* Change line color to red on mouseover */
        }
/* 

        #rectangleCanvas line.dim-line-highlight ,
        #rectangleCanvas path.dim-line-highlight
         {
            stroke: blue;
            stroke-width: 8;
        } */

        #rectangleCanvas .raiwa{
            stroke:#0BE2D9; 
            stroke-width: 5;
        }
        #rectangleCanvas .floo{
            stroke:#6D7368; 
            stroke-width: 5;
        }

        #rectangleCanvas .highlight-rw{
            stroke:rgb(0, 255, 221); 
            stroke-width: 9;
            /* Change line color to red on mouseover */
        }
        #rectangleCanvas .highlight-flooring{
            stroke:#7f6550; 
            stroke-width: 9;
            /* Change line color to red on mouseover */
        }

        #ContextMenu {
            width: 150px;
        }

        .dragModal .modal-header {
            cursor: move;
        }

        
        .corner-circle.selected {
            fill: green; /* Change color or style to indicate selection */
        }
        .corner-circle:hover{
            cursor:pointer;
        }
        
        thead th {
            position: -webkit-sticky; /* For Safari */
            position: sticky;
            top: 0; /* Adjust this value as needed */
            background-color: #ffffff; /* Change this as per your design */
            z-index: 1000; /* Ensures the header is above other content */
        }
        
        .navbar {
            /* z-index: 1050; */
        }

        .outline-style{
            outline: 2px solid black;
        }

        .form-spacing {
            margin-bottom: 20px; /* Adjust the value as needed */
        }

        

        
/* Progress Tracker */
        .progression-steps {
            list-style: none;
            padding: 0;
            display: table;
            width: 100%;
            margin: 20px 0;
        }
        
        .progression-steps li {
            display: table-cell;
            text-align: center;
            position: relative;
            font-size: 16px;
            /* padding: 0 10px; */
        }
        
        .progression-steps li::before {
            content: '';
            display: block;
            margin: auto;
            height: 25px;
            width: 25px;
            background-color: #ddd;
            border-radius: 50%;
            line-height: 25px;
            color: white;
            font-weight: bold;
        }
        
        .progression-steps li.active::before {
            background-color: #5bc0de; /* Bootstrap's btn-success color */
        }
        
        .progression-steps li::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 2px;
            background-color: #ddd;
            top: 12px;
            left: -50%;
            z-index: -1;
        }
        
        .progression-steps li:first-child::after {
            display: none;
        }
        
        .progression-steps li.active::after {
            background-color: #5bc0de; /* Bootstrap's btn-success color */
        }
        




    /* editable text in a span*/
    .editable {
        border: 1px solid #5bc0de;
        background-color: #f9f9f9;
        cursor: text;
        padding: 4px;
        outline: none;
      }
      
      .editable:hover {
        background-color: #eef;
      }
      
      .editable:focus {
        /* border: 4px solid #5bc0de; */
        outline: 2px solid #5bc0de;
      }
      
      #dropZone {
        border: 2px dashed #0087F7;
        border-radius: 5px;
        background: white;
        padding: 12px;
        text-align: center;
        cursor: pointer;
    }
    /* #dropZone.dragover {
        background-color: #f0f8ff;
    } */

    #dropZone.highlight {
        border-color: #007bff; /* Highlight border color changed to blue */
        background-color: #e7f5ff; /* Light blue background to indicate active drop zone */
    }

    /* .img-thumbnail { */
        /* margin: 5px; */
        /* width: 100px; Adjust size as needed
        height: auto;
        border: 1px solid #ddd;
        padding: 5px; */
    /* } */


    .thumbnail-container {
        position: relative;
        display: inline-block;
        margin: 10px;
    }
    
    .img-thumbnail {
        width: 100px;
        height: 100px;
        border: 1px solid #ddd;
    }
    
    .remove-thumbnail {
        position: absolute;
        top: 0;
        right: 0;
        padding: 2px 5px;
        background-color: #ff0000; /* Red background */
        color: white; /* White text */
        font-weight: bold;
        cursor: pointer;
        border: none;
        border-radius: 0 0 0 5px; /* Rounded corner on the bottom-left of the button */
    }
    
    .img-thumbnail.clickable {
        cursor: pointer;
        transition: transform 0.2s; /* Animation */
    }
    
    .img-thumbnail.clickable:hover {
        transform: scale(1.1); /* Slightly enlarge the thumbnail on hover */
    }

    .price-text div {
        cursor: default;
    }
    
    .tab-page{
        min-height: 90vh;
    }
    .loader-container{
        height: 100%;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 25% auto;
    }

    #loader {
        width: 20px;
        aspect-ratio: 1;
        --c1:linear-gradient(90deg,#0000 calc(100%/3),#046D8B 0 calc(2*100%/3),#0000 0);
        --c2:linear-gradient( 0deg,#0000 calc(100%/3),#046D8B 0 calc(2*100%/3),#0000 0);
        background: var(--c1),var(--c2),var(--c1),var(--c2);
        background-size: 300% 4px,4px 300%;
        background-repeat: no-repeat;
        animation: l3 1s infinite linear;
      }
    @keyframes l3 {
        0%     {background-position: 50%  0,100% 100%,0    100%,0 0}
        25%    {background-position: 0    0,100% 50% ,0    100%,0 0}
        50%    {background-position: 0    0,100% 0   ,50%  100%,0 0}
        75%    {background-position: 0    0,100% 0   ,100% 100%,0 50%}
        75.01% {background-position: 100% 0,100% 0   ,100% 100%,0 50%}
        100%   {background-position: 50%  0,100% 0   ,100% 100%,0 100%}
    }

    .additional_feature_container{
        display: flex;
        gap: 8px;
    }
    .anchor_feature_container{
        display: flex;
        gap: 8px;
    }