/* .list-group {
    width: 100%;
    max-width: 460px;
    margin-inline: 1.5rem;
  } */
  
  .form-check-input:checked + .form-checked-content {
    opacity: .5;
  }
  
  .form-check-input-placeholder {
    border-style: dashed;
  }
  /* [contenteditable]:focus {
    outline: 0;
  }
   */
  .list-group-checkable .list-group-item {
    cursor: pointer;
  }
  .list-group-item-check {
    position: absolute;
    clip: rect(0, 0, 0, 0);
  }
  .list-group-item-check:hover + .list-group-item {
    background-color: var(--bs-secondary-bg);
  }
  .list-group-item-check:checked + .list-group-item {
    color: #fff;
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
  }
  .list-group-item-check[disabled] + .list-group-item,
  .list-group-item-check:disabled + .list-group-item {
    pointer-events: none;
    filter: none;
    opacity: .5;
  }
  
  .list-group-radio .list-group-item {
    cursor: pointer;
    border-radius: .5rem;
  }
  .list-group-radio .form-check-input {
    z-index: 2;
    margin-top: -.5em;
  }
  .list-group-radio .list-group-item:hover,
  .list-group-radio .list-group-item:focus {
    background-color: var(--bs-secondary-bg);
  }
  
  .list-group-radio .form-check-input:checked + .list-group-item {
    background-color: var(--bs-body);
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 2px var(--bs-primary);
  }
  .list-group-radio .form-check-input[disabled] + .list-group-item,
  .list-group-radio .form-check-input:disabled + .list-group-item {
    pointer-events: none;
    filter: none;
    opacity: .5;
  }

  

  #radio-cards-container {
    margin-top: 5rem;
    width: 75vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.radio-card {
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    /* width: 300px; */
    margin-bottom: 2rem;
    padding: 1rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    /* justify-content: center; */
    position: relative;
    cursor: pointer;
}

.radio-card-abovewall {
  border: 2px solid rgba(0, 0, 0, 0);
  border-radius: 10px;
  /* width: 300px; */
  margin-bottom: 2rem;
  padding: 2rem;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  /* justify-content: center; */
  position: relative;
}

.radio-card:hover {
    border: 1px solid #0d6efd;
    cursor: pointer;
    transform: scale(1.03);
}

.radio-card-check {
    display: none;
    position: absolute;
    top: .1rem;
    left: .5rem;
}

.radio-card-check i {
    font-size: 1.6rem;
    color: #016787;
}

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

/* .radio-card-icon img {
    width: 220px;
} */

.radio-card-label {
    margin-top: 1rem;
    font-weight: 600;
    font-size: 1.2rem;
}

.radio-card-label-description {
    margin-top: 0.5rem;
    /* color: rgba(0, 0, 0, 0.7); */
}

.radio-card.selected {
    border: 2px solid #0d6efd;
}

.radio-card.selected .radio-card-check {
    display: inline-flex;
}


/* Pricing Modal */
.priceSheet.active span {
display:inline-block;
}

.priceSheet span{
  display: none;
}

.priceSheet.active div{
  display: block;
}

.iconContainer{
  display: none;
}

.drop-down {
  animation-name: drop-down;
  animation-duration: 0.2s;
  }

 @keyframes drop-down {
  from {
  transform: translateY(-50%);
  opacity: 0;
  }
    to {
    transform: translateY(0);
    opacity: 1;
    }
  }

  
  .delete-row {
    animation-name: deletebuttonremove;
    animation-duration: .5s;
    animation-fill-mode: forwards;
    }
   
    @keyframes deletebuttonremove {
    0% { opacity: 1; }
    100% { opacity: 0; height: 0; padding: 0; }}

    .disclaimer-list li{
      margin-bottom: 20px;
      font-weight: bold;

    }

    .disclaimer-list ul li{
      font-weight: normal;
    }

    /* .class1 {
      width: 0px;
      overflow: hidden;
      transform: translate(182px);
      transition: all 2s;
  } */

  /* .ag-theme-alpine {
    --ag-foreground-color: rgb(0, 0, 0);
    --ag-background-color: rgb(227, 227, 227);
    --ag-header-foreground-color: rgb(255, 255, 255);
    --ag-header-background-color: rgb(13, 110, 253);
    --ag-odd-row-background-color: rgb(0, 0, 0, 0.03);
    --ag-header-column-resize-handle-color: rgb(126, 46, 132);

    --ag-font-size: 12px;
    --ag-font-family: monospace;
} */

.ag-theme-alpine .ag-header-cell {
  font-weight: bold;
  font-size: 12px;
}



.empty-cell{
  background-color: rgba(255, 110, 110, 0.1);
}


.table .tr-inputs td {
  position: relative;
  /* padding: 0; */
  padding-bottom: 1.2rem;
  /* margin: 0; */
}

.table .tr-inputs div {
  position: absolute;
  display: inline-block;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.table input {
  width: 100%;
  box-sizing: border-box;
  height: 100%;
  text-align: center;
}


.table .tr-inputs{
  height: 50px;
}


.inputTable{
  height:220px;
}


@media only screen and (max-width: 600px) {
  .inputTable {
    height: 225px
  }
}

img#inputHelpImage:hover {
  outline: solid black 1px;
  cursor: zoom-in;
}

.autocomplete {
  /*the container must be positioned relative:*/
  position: relative;
  display: inline-block;
}


.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
}
.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}
.autocomplete-items div:hover {
  /*when hovering an item:*/
  background-color: #e9e9e9;
}
.autocomplete-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: DodgerBlue !important;
  color: #ffffff;
}

/* Existing page styles */
.wizard-step {
    display: none;
    animation: fadeIn 0.3s ease-in;
}
.wizard-step.active {
    display: block;
}
.wizard-progress {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}
.wizard-progress-bar {
    height: 100%;
    background-color: #0d6efd;
    transition: width 0.3s ease;
}
.visual-aid-placeholder {
    background-color: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-style: italic;
}
.wizard-container {
    max-width: none;
    margin: 0;
}
.wizard-collapsed {
    opacity: 0.6;
    transform: scale(0.98);
    pointer-events: none;
    transition: all 0.3s ease;
    display: none;
}
.definition-item {
    border-left: 3px solid #0d6efd;
    padding-left: 12px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}
.phase-indicator {
    background: linear-gradient(45deg, #0d6efd, #6610f2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
}
.table-section {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.help-section {
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}
.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}
.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}
.btn-secondary:hover {
    background-color: #5c636a;
    border-color: #565e64;
}
.skip-setup-container {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
}
.segment-item {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 8px;
}
.segment-item:hover {
    background: #e9ecef;
    border-color: #0d6efd;
}
.segment-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}
.angle-input {
    width: 80px;
}
.page {
    display: none;
}
.page.active {
    display: block;
    padding-top: 10px;
}
.literatureIcons {
    cursor: pointer;
}
.literatureIcons img {
    width: 77.25px;
    transition: .5s all;
}
.literatureIcons:hover img {
    box-shadow: #8e8e8ead 9px 11px 7px 0px;
    transition: .4s all;
    transform: translate(-5px, -5px)scale(1.05);
}
.t {
    max-width: 80px;
    font-weight: 700;
}
img#workshopLogo:hover {
    transition: 1s;
    transform: scale(1.08);
}
.material-symbols-rounded {
    font-variation-settings:
    'FILL' 1,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24
}
.selectedPaverBlock{
    background-color: rgba(var(--bs-secondary-bg-rgb), var(--bs-bg-opacity)) !important;
}
.visual-aid-container {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.form-check {
    transition: all 0.3s ease;
    cursor: pointer;
}
.form-check:hover {
    background-color: #e3f2fd !important;
}
.form-check label {
    cursor: pointer;
    width: 100%;
}
.form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
}
.visual-aid img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.image-title {
    background-color: #007bff;
    color: white;
    padding: 8px 15px;
    margin: 0 0 15px 0;
    border-radius: 6px 6px 0 0;
    font-weight: bold;
    text-align: center;
    font-size: 14px;
}
.image-container {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

/* Plan View Creator Specific Styles */
.plan-step {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.plan-step.active {
    display: block;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateX(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

.step-counter {
    background-color: #0d6efd;
    color: white;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 12px;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step-counter.bg-success {
    background-color: #198754 !important;
}

#planViewCanvas {
    border: 1px solid #dee2e6;
    background: #fafafa;
    cursor: default;
    transition: cursor 0.2s ease;
}

#planViewCanvas:hover {
    border-color: #0d6efd;
}

.corner-item {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.corner-item:hover {
    background: #e9ecef;
    border-color: #0d6efd;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.corner-item.active {
    background: #e3f2fd;
    border-color: #0d6efd;
    border-width: 2px;
}

.corner-controls {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #dee2e6;
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.radius-btn {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    transition: all 0.2s ease;
}

.radius-btn:hover {
    transform: scale(1.05);
}

.radius-btn.active {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

.coordinate-point-item {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.coordinate-point-item:hover {
    background: #e9ecef;
    border-color: #0d6efd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.coordinate-point-item .btn-outline-danger {
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.coordinate-point-item:hover .btn-outline-danger {
    opacity: 1;
}

/* Editable coordinate inputs */
.coordinate-edit {
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.2s ease;
}

.coordinate-edit:hover {
    background: white;
    border-color: #dee2e6;
}

.coordinate-edit:focus {
    background: white;
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.input-mode-toggle {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.input-mode-toggle:hover {
    border-color: #0d6efd;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.1);
}

.coordinate-inputs {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
}

.coordinate-inputs .form-control {
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.coordinate-inputs .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Progress Bar Enhancements */
#lengthProgress {
    transition: width 0.5s ease, background-color 0.3s ease;
}

#lengthProgress.bg-success {
    background-color: #198754 !important;
}

#lengthProgress.bg-warning {
    background-color: #ffc107 !important;
}

#lengthProgress.bg-danger {
    background-color: #dc3545 !important;
}

/* Canvas Overlays */
#previewInfo, 
.position-absolute.bg-white {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

#previewInfo.border-danger {
    border-color: rgba(220, 53, 69, 0.5) !important;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.1);
}

/* Button Group Enhancements */
.btn-group .btn {
    position: relative;
    overflow: hidden;
}

.btn-group .btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.btn-group .btn:active::after {
    width: 100px;
    height: 100px;
}

/* Toast Enhancements */
.toast {
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Modal Responsive Adjustments */
@media (max-width: 991px) {
    .plan-step {
        font-size: 0.9rem;
    }
    
    .step-counter {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .corner-item {
        padding: 10px;
    }
    
    .radius-btn {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
    
    .coordinate-edit {
        width: 50px !important;
    }
}

/* Material Icons Integration */
.material-symbols-rounded {
    vertical-align: middle;
    font-size: 1.2rem;
}

.btn .material-symbols-rounded {
    font-size: 1.1rem;
}

.btn-sm .material-symbols-rounded {
    font-size: 1rem;
}

/* Smooth Scrollbar */
.col-lg-4::-webkit-scrollbar,
#coordinatePointsList::-webkit-scrollbar,
#cornersList::-webkit-scrollbar {
    width: 8px;
}

.col-lg-4::-webkit-scrollbar-track,
#coordinatePointsList::-webkit-scrollbar-track,
#cornersList::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.col-lg-4::-webkit-scrollbar-thumb,
#coordinatePointsList::-webkit-scrollbar-thumb,
#cornersList::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.col-lg-4::-webkit-scrollbar-thumb:hover,
#coordinatePointsList::-webkit-scrollbar-thumb:hover,
#cornersList::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Badge Enhancements */
.badge {
    font-weight: 500;
    padding: 0.25em 0.6em;
    font-size: 0.75rem;
}

/* Alert Customizations */
.alert {
    border: none;
    border-radius: 8px;
}

.alert-info {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0a58ca;
}

.alert-success {
    background-color: rgba(25, 135, 84, 0.1);
    color: #146c43;
}

.alert-secondary {
    background-color: rgba(108, 117, 125, 0.1);
    color: #495057;
}

/* Form Switch Enhancement */
.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Card Enhancements */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Length limit indicator */
.text-danger {
    transition: color 0.2s ease;
}


/* Clean table styling */
.table-clean {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

.table-clean thead th {
    background-color: #f8f9fa;
    color: #495057;
    font-weight: 600;
    padding: 12px 16px;
    border-bottom: 2px solid #dee2e6;
    border-right: 1px solid #dee2e6;
}

.table-clean thead th:last-child {
    border-right: none;
}

.table-clean tbody td {
    padding: 12px 16px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f3f4;
    border-right: 1px solid #f1f3f4;
}

.table-clean tbody td:last-child {
    border-right: none;
}

.table-clean tbody tr:last-child td {
    border-bottom: none;
}

.table-clean tbody tr:hover {
    background-color: #f8f9fa;
}

/* Active row */
.table-clean tbody tr.table-primary {
    background-color: #e3f2fd !important;
    border-left: 3px solid #1976d2;
}

.table-clean tbody tr.table-primary:hover {
    background-color: #e3f2fd !important;
}

/* Wall number */
.wall-number {
    background-color: #6c757d;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Status indicators */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-complete {
    background-color: #d4edda;
    color: #155724;
}

.status-missing {
    background-color: #f8f9fa;
    color: #6c757d;
}

.status-warning {
    background-color: #fff3cd;
    color: #856404;
}

/* Value styling */
.value-primary {
    font-weight: 600;
    color: #212529;
}

.value-secondary {
    font-size: 0.875rem;
    color: #6c757d;
}

/* Container */
.table-container {
    background: white;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.table-header {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 16px;
    margin-bottom: 20px;
}