



/**
 * VSTRAT CSS Utilities
 * Common styles used across VSTRAT tools
 */


 .ecosystem .container-border 
{
    border: 5px solid black; /* Thick border around the whole container */
    padding: 0; /* Remove padding around the container */
    position: relative;
}

.ecosystem .cell 
{
    border: 1px solid black;
    margin: 0; /* Remove margin between cells */
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ecosystem .header-left, .ecosystem .header-right 
{
    padding: 5px;
    text-align: left;
    font-size: 1em; /* Header text size */
    font-weight: bold;
}

.ecosystem .header-left 
{
    background-color: #D7EAD9;
    color: black;
}

.ecosystem .header-right 
{
    background-color: #00996A;
    color: white;
}

.ecosystem .body-left, .ecosystem .body-right 
{
    padding: 10px;
    text-align: left;
    flex-grow: 1;
    color: black; /* Black text for body */
    font-size: 0.8em; /* Smaller text for body */
}

.ecosystem .body-left 
{
    background-color: white; /* Different color for body */
}

.ecosystem .body-right 
{
    background-color: white; /* Different color for body */
}

.ecosystem .bold-text 
{
    font-weight: bold;
    margin-bottom: 5px; /* Reduced margin for less space */
}

.ecosystem .left-block 
{
    padding-bottom: 5px;
}

.ecosystem .vertical-text 
{
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: left top 0;
    font-size: 1.2em;
    font-weight: bold;
    white-space: nowrap;
}

.ecosystem .vertical-text-left 
{
    left: -40px; /* Adjust as necessary */
}

.ecosystem .vertical-text-right 
{
    right: -40px; /* Adjust as necessary */
}

.ecosystem .output_right 
{
    text-align: left;
}

.ecosystem .label-bottom {
    text-align: center !important;
    margin-top: 20px;
    font-size: 14px;
    width: 100%; /* Add this to ensure it spans the full width */
    display: block; /* Add this to ensure it's a block element */
}

.ecosystem .article-attrib 
{
    margin-top: 20px;
    text-align: center;
    font-size: .7em;
    font-style: italic;
}

.ecosystem .btn 
{
    background-color: var(--accent-color) !important; 
    color: var(--contrast-color) !important;
    border-radius: 30px !important;
    padding: 8px 30px !important;
    border: 2px solid transparent !important;
    transition: 0.3s all ease-in-out !important;
    font-size: 14px !important;
}



  

/*--------------------------------------------------------------
# Features 8 Section
--------------------------------------------------------------*/
.features-8 .features-item+.features-item {
  margin-top: 60px;
}

.features-8 .features-item .content {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 30px;
  border-radius: 10px;
}

.features-8 .features-item h3 {
  font-weight: 700;
  font-size: 26px;
  margin-bottom: 15px;
}

.features-8 .features-item .more-btn {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 6px 30px;
  border-radius: 6px;
}

.features-8 .features-item .more-btn:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.features-8 .features-item ul {
  list-style: none;
  padding: 0;
}

.features-8 .features-item ul li {
  padding-bottom: 10px;
  display: flex;
  align-items: center;
}

.features-8 .features-item ul li:last-child {
  padding-bottom: 0;
}

.features-8 .features-item ul i {
  font-size: 20px;
  margin-right: 10px;
  color: var(--accent-color);
}

.features-8 .features-item img {
  border-radius: 15px;
}










/* bcg portfolio matrix */
.portfolio .deck-container {
    margin-top: 80px;
    margin-left: 15%;
    margin-right: 15%;
}

.portfolio .deck-controls {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
}

.portfolio .deck-textarea {
    width: 100%;
    height: 400px;
    font-family: monospace;
    padding: 10px;
    margin-bottom: 15px;
    border: 0px solid #ccc;
    border-radius: 4px;
}

.portfolio .deck-button {
    padding: 10px 20px;
    background-color: #14A278;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.portfolio .deck-button:hover {
    background-color: #0f8161;
}

.portfolio .deck-button.secondary {
    background-color: #6c757d;
}

.portfolio .deck-button.secondary:hover {
    background-color: #5a6268;
}

.portfolio .status-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

.portfolio .success { background-color: #d4edda; color: #155724; }
.portfolio .error { background-color: #f8d7da; color: #721c24; }

.portfolio .sample-data {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.portfolio .section-title {
    padding-bottom: 10px;
}

.portfolio .tooltip {
    position: absolute;
    background: white;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
    display: none;
    max-width: 200px;
    font-size: 14px;
    z-index: 1000;  /* Make sure tooltip appears above other elements */
}







/* subtractive thinking */
.subtract .form-group {
    text-align: center;  
    margin-bottom: 20px;
}

.subtract .form-group label {
    display: block;
    margin-bottom: 8px;
    text-align: center;
}

.subtract .input-group {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.subtract .output_div
{
    margin-top: 10px; 
    margin-right: 10%; 
    margin-left: 10%; 
    min-height: 500px;
    display: flex;
}

.subtract .component
{
    width: 95%;
    height: 60px;
    background-color: #008080;
    color: white;
    border: 2px solid black;
    border-radius: 10px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
    cursor: pointer;
}

.subtract .component-selected
{
    width: 95%;
    height: 60px;
    background-color: #E69138;
    color: white;
    border: 2px solid black;
    border-radius: 10px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
    cursor: pointer;
}

.subtract .item
{
    width: 95%;
    height: 60px;
    background-color: #008080;
    color: white;
    border: 2px solid black;
    border-radius: 10px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
    cursor: pointer;
}

.subtract .item-selected
{
    width: 95%;
    height: 60px;
    background-color: #E69138;
    color: white;
    border: 2px solid black;
    border-radius: 10px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
    cursor: pointer;
}

.subtract .explain-item 
{
    width: 95%;
    min-height: 60px;
    background-color: white;
    color: black;
    border: 2px solid black;
    border-radius: 10px;
    margin-top: 10px;
    padding: 0 20px;
    box-sizing: border-box;
    cursor: pointer;
    list-style-type: disc;
    text-align: left;
    font-size: 1em;
}

.subtract .section-title {
    padding-bottom: 10px;
}

.subtract input {
    text-align: center;
}









/* stakeholder */
.stakeholder .form-group {
    text-align: center;  
    margin-bottom: 20px;
}

.stakeholder .form-group label {
    display: block;
    margin-bottom: 8px;
    text-align: center;
}

.stakeholder .input-group {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.stakeholder .output_div
{
    margin-top: 10px; 
    margin-right: 10%; 
    margin-left: 10%; 
    min-height: 500px;
    display: flex;
}

.stakeholder .externality-list li 
{
    background-color: #007bff; 
    color: white;
    margin: 5px 0;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    min-height: 70px;

    display: flex;
    align-items: center;
    justify-content: center; 
}

.stakeholder .section-head {
    font-size: 1.2em;
    font-weight: bold;
}

.stakeholder input {
    text-align: center;
}





/* Lenses */ 
.lenses .form-group {
    text-align: center;  
    margin-bottom: 20px;
}

.lenses .form-group label {
    display: block;
    margin-bottom: 8px;
    text-align: center;
}

/* Enhanced content wrapper */
.lenses .content-wrapper {
    border: 5px solid #3498db;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    height: 600px;
    margin-top: 20px;
    background: #f8f9fa;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Content transition effects */
.lenses .content-transition {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.lenses .content-transition.visible {
    opacity: 1;
    transform: translateX(0);
}

.lenses .content-transition.exit {
    opacity: 0;
    transform: translateX(-20px);
}

.lenses .content-inner {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

/* Enhanced lens title */
.lenses .lens-title {
    text-align: center;
    font-size: 1.8em;
    font-weight: 700;
    color: #2c3e50;
    margin: 20px 0;
    padding: 15px;
    background: #e3f2fd;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Enhanced item cards */
.lenses .item-card {
    background: white;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 10px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lenses .item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: #3498db;
}

.lenses .item-content {
    flex-grow: 1;
    font-size: 1.1em;
    color: #333;
}

.lenses .item-icon {
    color: #3498db;
    margin-left: 15px;
}

/* Navigation buttons */
.lenses .navigation-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(52, 152, 219, 0.9);
    border-radius: 50%;
    padding: 15px;
    cursor: pointer;
    z-index: 10;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.lenses .navigation-button:hover {
    background-color: rgba(41, 128, 185, 1);
    transform: translateY(-50%) scale(1.1);
}

.lenses .navigation-button i {
    font-size: 2rem;
    color: white;
}

.lenses .prev-button { left: 20px; }
.lenses .next-button { right: 20px; }

/* Modal styling */
.lenses .detail-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.lenses .modal-content {
    position: relative;
    background: white;
    width: 90%;
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.3s ease;
}

.lenses .close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.lenses input {
    text-align: center;
}

















/* Canvas maker */ 
.canvas .errc_draggable-item {
    border-radius: 5px;
    padding: 8px;
    margin-bottom: 6px;
    background-color: #4091C9;
    color: white;
    cursor: move;
    text-align: center;
    box-sizing: border-box;
    transition: transform 0.2s, box-shadow 0.2s;
}

.canvas .errc_draggable-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.canvas .errc_droppable-area {
    height: 300px;
    background-color: #f8f9fa;
    text-align: center;
    padding: 5px 20px;    /* Reduced top padding from 10px to 5px */
    border-radius: 8px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #dee2e6;
    transition: border-color 0.3s;
    position: relative;
}

.canvas .errc_droppable-area:hover {
    border: 1px solid #8C8C8C;
}

.canvas .quadrant-title {
    font-weight: 600;
    color: #00389E;
    width: 70%;
    margin: -5px auto 8px;
    padding: 2px 0;        
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #f8f9fa;  /* Match parent background */
}

.canvas .factor-input-container {
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.canvas .help-tooltip {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
    max-width: 300px;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.canvas .help-icon {
    position: absolute;
    top: 5px;            /* Adjust position */
    right: 5px;          /* Move closer to edge */
    color: #6c757d;
    cursor: pointer;
    font-size: 16px;
}

.canvas #new_factor:focus {
    outline: none;
    border: 1px solid black !important;
    box-shadow: none;
}

.canvas #siq-result {
    background-color: #00389E;
    color: white;
    padding: 8px 16px;
    text-align: center;
    font-weight: 600;
    border-radius: 4px;
    display: inline-block;
    font-size: 0.95em;
    letter-spacing: 0.5px;
    margin-left: 50px;
    box-shadow: 0 2px 8px rgba(0, 56, 158, 0.3);
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: siqGlow 2s infinite alternate;
}














/* Key Factors */

.factors .input-container {
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.factors .layout-container {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

.factors .hidden {
    display: none;
}

.factors .factors-column {
    padding-right: 20px;
}

.factors .cart-column {
    position: sticky;
    top: 20px;
    height: calc(100vh - 40px);
    background: white;
    z-index: 100;
    display: flex;
    flex-direction: column;
}

.factors .cart-header {
    position: sticky;
    top: 120px;
    background: white;
    z-index: 101;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

.factors .cart-content {
    position: sticky;
    top: 180px;
    flex: 1;
    overflow-y: auto;
    min-height: 200px;
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    view-timeline-name: --scroll;
    animation: adjust-margin linear both;
    animation-timeline: --scroll;
    animation-range: entry 0% cover 10%;
}

.factors .cart-footer {
    position: sticky;
    bottom: 0;
    padding-top: 15px;
    background: white;
    z-index: 101;
    margin-left: 20%;
    margin-right: 20%;
}


.factors .factor-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.factors .factors-column .factor-card {
    background-color: #4091C9;
    color: white;
    border-radius: 10px;
    padding: 20px;
    min-height: 60px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: grab;
}

.factors .cart-content .factor-card {
    background-color: #4091C9;
    margin-bottom: 10px;
    border-radius: 10px;
    padding: 20px;
    min-height: 60px;
    display: flex;
    align-items: center;
    color: white;
    transition: all 0.3s ease;
}


/* Style for selected factors in the left column */
.factors .factor-card.is-selected {
    background-color: #E9ECEF;
    color: #6C757D;
    cursor: default;
    opacity: 0.8;
    transform: scale(0.98);
    box-shadow: none;
}

/* Update the plus button to show check mark when selected */
.factors .factor-card.is-selected .factor-actions .btn-add {
    background-color: #6C757D;
    color: white;
    cursor: not-allowed;
}

.factors .factor-card.is-selected .factor-actions .btn-add i {
    transform: rotate(45deg);
}

.factors .factor-card:active {
    cursor: grabbing;
}

.factors .factor-card.dragging {
    opacity: 0.5;
    transform: scale(0.95);
}

.factors .factor-content {
    flex-grow: 1;
    text-align: left;
    font-size: 1.1em;
    padding: 0 20px;
    line-height: 1.4;  /* Improve readability for multi-line content */
}

.factors .factor-actions {
    display: flex;
    align-items: center;
    gap: 8px;  /* Space between buttons */
    margin-left: auto;
    flex-shrink: 0;  /* Prevent buttons from shrinking */
}

.factors .factor-actions .btn {
    padding: 6px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;  /* Fixed height for consistency */
    width: 32px;   /* Fixed width for consistency */
}

/* Ensure icons are centered within buttons */
.factors .factor-actions .btn i {
    margin: 0;
    line-height: 1;
}

.factors .cart-placeholder {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    color: #6c757d;
    margin-top: 10px;
}

.factors .path-title {
    font-size: 1.2em;
    font-weight: 700;
    margin-top: 20px;
}

.factors .path-body {
    margin-top: 10px;
}

.factors .drag-hover {
    border: 2px dashed #366B9D !important;
    background-color: rgba(54, 107, 157, 0.1);
}

.factors .dragging-active .factor-card {
    pointer-events: none;
}

.factors .dragging-active .cart-column {
    pointer-events: all;
}

.factors .canvas-btn {
    background-color: #8C8C8C !important;
    border: none;
    padding: 10px 20px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
}

.factors .canvas-btn:hover {
    background-color: rgb(201,101,46) !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.factors .canvas-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.factors .canvas-btn i {
    vertical-align: middle;
}




















/* bum */ 
.bum .bos-grid {
    display: grid;
    /* Column template now set dynamically in JS */
    gap: 10px;
    width: 100%;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.bum .utility-lever {
    background: #66A7D3;
    padding: 10px 15px;  /* Added horizontal padding */
    text-align: left;    /* Left aligned text */
    font-weight: bold;
    border-radius: 4px;
    min-width: 150px;
    height: 70px;      /* Match stage-card height */
    display: flex;     /* Use flex for vertical centering */
    align-items: center; /* Center vertically */
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.2;
}

.bum .grid-box {
    position: relative;
    background: white;
    border: 1px solid #ddd;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;  /* Match stage-card height */
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.2;
}

.bum .grid-box:hover {
    background-color: #f8f9fa;
}

/* Ensure proper row alignment */
.bum .utility-lever, .grid-box {
    margin: 0;
    line-height: 1.2;
}

.bum .layout-container {
    display: grid;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

.bum .hidden {
    display: none;
}

.bum .stages-container {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.bum .stage-card {
    background: #8CBDDE;
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
    cursor: move;
    user-select: none;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    width: 100%;
    height: 70px;  /* Set fixed height */
    display: flex;  /* Use flex for centering */
    justify-content: center;
    align-items: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.2; 
}

.bum .stage-card .delete-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    cursor: pointer;
    display: none;
    z-index: 1;
}

.bum .stage-card:hover .delete-btn {
    display: block;
}

.bum .add-stage-btn {
    position: absolute;
    right: -50px;
    top: 0;
    padding: 5px 15px;
    background: #366B9D;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    height: fit-content;
}

.bum .harvey-ball {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #333;
    position: relative;
    overflow: hidden;
}

.bum .harvey-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #333;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.bum .stages-wrapper {
    position: relative;
    margin-bottom: 10px;
}

.bum .stages-row {
    display: grid;
    grid-template-columns: 150px repeat(6, 1fr);
    gap: 10px;
    width: 100%;
}
    
.bum .empty-corner {
    grid-column: 1;
    grid-row: 1;
}

.bum .header-cell {
    height: 0;
    visibility: hidden;
}

.bum .card-wrapper {
    width: 100%;
}

.bum .circle-indicator {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bum .circle-indicator svg {
    width: 30px;
    height: 30px;
}

.bum .grid-box {
    position: relative;  /* Add this to existing grid-box style */
}

.bum .info-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    color: #366B9D;
    font-size: 12px;
    cursor: help;
    display: none;
}

.bum .info-icon.show 
{
    display: block;
}

.bum .info-tooltip {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    padding: 8px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
    min-width: 150px;
    max-width: 200px;
    top: 50%;          /* Center vertically */
    left: 100%;        /* Position at the right edge of the cell */
    transform: translateY(-50%);  /* Adjust for perfect vertical centering */
    margin-left: 10px; /* Add some space between cell and tooltip */
    font-size: 12px;
}

.bum .grid-box:hover .info-icon.show + .info-tooltip {
    display: block;
}

.bum .bos-legend {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
}

.bum .legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bum .legend-dot {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.bum .legend-text {
    font-size: 14px;
    color: #666;
}




















/* Six Path */
.sixpath .path-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}
    
.sixpath .path-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.sixpath .path-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Column styling */
.sixpath .red-column, .blue-column {
    min-width: 0;
    border: 3px solid;
    border-radius: 8px;
    padding: 10px;
}

.sixpath .red-column {
    border-color: #D72638;
    margin-left: 15px;
}

.sixpath .blue-column {
    border-color: #3F88C5;
    margin-right: 15px;
}

.sixpath .red-column ul, .blue-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Input section styling */
.sixpath .main-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.sixpath .input-wrapper {
    width: 500px;
    margin: 90px auto 60px;
    padding: 0;
}

.sixpath .title {
    text-align: center;
    white-space: nowrap;
    margin-bottom: 30px;
    font-size: 24px;
}

.sixpath .help-button-container {
    text-align: right;
    margin-bottom: 20px;
}

.sixpath .input-field {
    width: 500px;
    height: 38px;
    border: 1px solid #000 !important;
    border-radius: 4px;
    padding: 8px;
    text-align: center;
    box-sizing: border-box;
    border-radius: 5px !important;
}

.sixpath .input-field:focus {
    outline: none;
    box-shadow: none;
}

/* Column headers */
.sixpath .col-head {
    font-size: 1.5em;
    font-weight: 700;     
    text-align: center;
    margin-top: 15px;
}

/* List items */
.sixpath .red-item {
    padding: 8px;
    margin: 5px 0;
    border-radius: 4px;
    transition: all 0.2s;
}

.sixpath .idea-item {
    cursor: pointer;
    padding: 8px;
    margin: 5px 0;
    border-radius: 4px;
    transition: all 0.2s;
    width: 98%;
}

.sixpath .idea-item:hover {
    background-color: #e7f1ff;
    transform: translateX(5px);
}

















/* Noncustomers */ 

.noncustomers .tier-title 
{
    margin-bottom: 0px;
    font-weight: bold;
    color: #495057;
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 6px;
    margin-right: 15%;
    margin-left: 15%;

}

.noncustomers .tier-body 
{
    margin-bottom: 25px;
    padding: 15px;
    border: 5px solid;
    border-radius: 8px;
    transition: border-color 0.3s;
    margin-right: 15%;
    margin-left: 15%;
}

.noncustomers .tier-body-0 {
    border-color: #BC0019;
}

.noncustomers .tier-body-1 {
    border-color: #9ACDF8;
}

.noncustomers .tier-body-2 {
    border-color: #38B7FF;
}

.noncustomers .tier-body-3 {
    border-color: #00389E;
}

.noncustomers .tier-body:hover {
    /* border-color: #00FF00; */
    /* background-color: #f8f9fa; */
}

.noncustomers .tier-description {
    margin-left: 15%;
    margin-right: 15%;
    font-style: italic;
    margin-bottom: 8px;
}

.noncustomers .idea-item 
{
    cursor: pointer;
    padding: 8px;
    margin: 5px 0;
    border-radius: 4px;
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.noncustomers .idea-item:hover 
{
    background-color: #e7f1ff;
    transform: translateX(5px);
}

.noncustomers .idea-drilldown 
{
    padding: 5px 0;
}
























/* CJM */ 

.cjm .persona_block
{
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 12px;
    margin-right: 30px;
    margin-left: 30px;
}
.cjm .persona_description
{
    font-size: 1.1em;
    text-align: left;
}

.cjm .goals_class
{
    font-size: .8em;
}
.cjm .activities_class
{
    font-size: .8em;
    padding: 2px;
    margin-top: 8px;
}
.cjm .touchpoints_class
{
    font-size: .8em;
    padding: 2px;
    margin-top: 8px;
}
.cjm .opportunities_class
{
    font-size: .8em;
    margin-bottom: 8px;
    cursor: pointer;
    text-decoration: underline;
}
.cjm .painpoints_class
{
    font-size: .8em;
    margin-bottom: 8px;
    cursor: pointer;
    text-decoration: underline;
}
.cjm .emotions_class 
{
    font-size: .8em;
    margin-bottom: 8px;        
}
.cjm .stage_class
{
    font-weight: bold;
    font-size: .9em;
    text-align: center;
    margin-right: 8px;
}
.cjm .subtitle 
{
    font-size: .75em;
    margin-bottom: 10px;
    font-style: italic;
}

.cjm .header-cell 
{
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.cjm .icon-column 
{
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Distributes space evenly, aligning first icon at top and last at bottom */
    height: 100%; /* Ensures the column takes full height of its container */
    padding: 4px 0; /* Adds padding top and bottom for visual spacing from the cell boundaries */
    margin-left: 12px;
    align-items: flex-start; 
}

.cjm .icon-column i 
{
    cursor: pointer; /* Changes cursor to a pointer on hover */
    font-size: 0.8em; /* Smaller size icons */
}

.cjm .header-label 
{
    text-align: center;
    font-weight: bold;
    margin-bottom: 4px; /* Space between the label and icons */
    font-size: 1.1em;
}

.cjm .icon-controls 
{
    font-size: .8em;
    display: flex;
    justify-content: space-between; /* Spreads the children (icons) evenly */
    align-items: center;
    padding: 0 10px; /* Padding on sides for better alignment of icons */
}

.cjm .icon-controls span 
{
    cursor: pointer;
    display: inline-block;
    padding: 2px 5px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.cjm .icon-controls span:hover 
{
    background-color: #e0e0e0; /* Light grey background on hover */
}

.cjm .left-icon, .right-icon 
{
    flex-grow: 1;
    text-align: center;
}

.cjm .center-icon 
{
    flex-grow: 2;
    text-align: center;
    color: red; /* Makes the delete icon stand out */
}

.cjm .left-icon:hover, .right-icon:hover, .center-icon:hover 
{
    background-color: #e0e0e0; /* Light grey background on hover */
}

.cjm .table td, .table th
{
    padding: .15rem;
}


.cjm .go-further-link {
    text-decoration: underline !important;
    cursor: pointer;
    transition: opacity 0.3s ease; /* Add smooth transition for hover effect */
}

.cjm .go-further-link:hover {
    opacity: 0.7; /* Slight fade on hover */
}

.cjm_cell {
    text-align: left !important;
}

.cjm .persona-div {
    font-size: 1.1em;
    width: 50%;
    height: auto;
    background-color: #C44F30;
    text-align: left;
    color: white;
    border: 2px solid black;
    border-radius: 10px;
    margin: 10px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    position: relative; /* To position the close icon */
}

.cjm .close-icon {
    position: absolute;
    right: 10px;
    top: 15px;
    transform: translateY(-50%);
    cursor: pointer;
    color: white;
}

.cjm .title {
    color: #C44F30;
}

.cjm .hilight_cell{
    color:  #1A5D1A;
}

.cjm :root {
    --goals-background-color: #EBEFF5;
    --touchpoint-background-color: #EBF5F1;
    --painpoint-background-color: #F5EBEF;
    --activities-background-color: #F4F5EB;
    --opportunities-background-color: #EBF5F1;
    --emotions-background-color: #EBEFF5;
}

.cjm .goals-row {
    background-color: var(--goals-background-color) !important;
    border-top: 0px;
    border-bottom: 0px;
}

.cjm table .goals-row td:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom: 0px;
    border-top: 0px;
    background-color: var(--goals-background-color) !important; /* Ensure the background color is applied */
}

.cjm table .goals-row td:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom: 0px;
    border-top: 0px;
    background-color: var(--goals-background-color) !important; /* Ensure the background color is applied */
}

.cjm table .goals-row td {
    background-color: var(--goals-background-color) !important; /* Keeps all other td's background red */
    border-bottom: 0px;
    border-top: 0px;
}

.cjm .touchpoint-row {
    background-color: var(--touchpoint-background-color) !important;
    border-top: 0px;
    border-bottom: 0px;
}

.cjm table .touchpoint-row td:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom: 0px;
    border-top: 0px;
    background-color: var(--touchpoint-background-color) !important; /* Ensure the background color is applied */
}

.cjm table .touchpoint-row td:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom: 0px;
    border-top: 0px;
    background-color: var(--touchpoint-background-color) !important; /* Ensure the background color is applied */
}

.cjm table .touchpoint-row td {
    background-color: var(--touchpoint-background-color) !important; /* Keeps all other td's background red */
    border-bottom: 0px;
    border-top: 0px;
}
    
.cjm .painpoint-row {
    background-color: var(--painpoint-background-color) !important;
    border-top: 0px;
    border-bottom: 0px;
}

.cjm table .painpoint-row td:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom: 0px;
    border-top: 0px;
    background-color: var(--painpoint-background-color) !important; /* Ensure the background color is applied */
}

.cjm table .painpoint-row td:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom: 0px;
    border-top: 0px;
    background-color: var(--painpoint-background-color) !important; /* Ensure the background color is applied */
}

.cjm table .painpoint-row td {
    background-color: var(--painpoint-background-color) !important; /* Keeps all other td's background red */
    border-bottom: 0px;
    border-top: 0px;
}

.cjm .activities-row {
    background-color: var(--activities-background-color) !important;
    border-top: 0px;
    border-bottom: 0px;
}

.cjm table .activities-row td:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom: 0px;
    border-top: 0px;
    background-color: var(--activities-background-color) !important; /* Ensure the background color is applied */
}

.cjm table .activities-row td:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom: 0px;
    border-top: 0px;
    background-color: var(--activities-background-color) !important; /* Ensure the background color is applied */
}

.cjm table .activities-row td {
    background-color: var(--activities-background-color) !important; /* Keeps all other td's background red */
    border-bottom: 0px;
    border-top: 0px;
}

.cjm .opportunities-row {
    background-color: var(--opportunities-background-color) !important;
    border-top: 0px;
    border-bottom: 0px;
}

.cjm table .opportunities-row td:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom: 0px;
    border-top: 0px;
    background-color: var(--opportunities-background-color) !important; /* Ensure the background color is applied */
}

.cjm table .opportunities-row td:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom: 0px;
    border-top: 0px;
    background-color: var(--opportunities-background-color) !important; /* Ensure the background color is applied */
}

.cjm table .opportunities-row td {
    background-color: var(--opportunities-background-color) !important; /* Keeps all other td's background red */
    border-bottom: 0px;
    border-top: 0px;
}

.cjm .emotions-row {
    background-color: var(--emotions-background-color) !important;
    border-top: 0px;
    border-bottom: 0px;
}

.cjm table .emotions-row td:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom: 0px;
    border-top: 0px;
    background-color: var(--emotions-background-color) !important; /* Ensure the background color is applied */
}

.cjm table .emotions-row td:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom: 0px;
    border-top: 0px;
    background-color: var(--emotions-background-color) !important; /* Ensure the background color is applied */
}

.cjm table .emotions-row td {
    background-color: var(--emotions-background-color) !important; /* Keeps all other td's background red */
    border-bottom: 0px;
    border-top: 0px;
}
































/* Personas */ 
.personas .output_div
{
    margin-top: 10px; 
    border: 2px solid blue; 
    margin-right: 20%; 
    margin-left: 20%; min-height: 500px;
}

.personas .segment-div {
    font-size: 1.1em;
    width: 50%;
    height: 50px;
    background-color: #C44F30;
    color: white;
    border: 2px solid black;
    border-radius: 10px;
    margin: 10px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
    position: relative; /* To position the close icon */
}


.personas .persona-cell 
{
    border-bottom: 1px solid black;
}

.personas .persona-bottom-cell 
{
    border-bottom: none;
    border-right: none;
    border-left: none;
}

.personas .persona-cell img {
    max-width: 100%;
    height: 300px;
    object-fit: contain; /* Keeps aspect ratio */
}

.personas .persona-text {
    margin-top: 10px; /* Add spacing between the image and text */
    text-align: left; /* Aligns text left */
    width: 100%;
}










/* Segments */ 

/*
.segment-identifier .segment-content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 50px;
}

.segment-identifier .detail-content {
    display: none;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: #fff;
}


.segment-identifier .output_div
{
    margin-top: 10px; 
    border: 2px solid blue; 
    margin-right: 20%; 
    margin-left: 20%; min-height: 500px;
}

.segment-identifier .remix-class 
{
    font-size: .9em;
    height: 65px;
    width: 32%;
    background-color: var(--accent-color) !important; 
    color: var(--contrast-color) !important;
    border-radius: 30px !important;
    border: 1px solid black;
    padding: 10px 20px;
    margin: 5px;
    text-align: center;
    cursor: pointer;
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.segment-identifier .switch-container {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.segment-identifier .detail-switch {
    display: flex;
    align-items: center;
    gap: 8px;
}

.segment-identifier .detail-switch input {
    position: relative;
    width: 40px;
    height: 20px;
    appearance: none;
    background: #ccc;
    outline: none;
    border-radius: 20px;
    transition: 0.3s;
    cursor: pointer;
}

.segment-identifier .detail-switch input:checked {
    background: #2196F3;
}

.segment-identifier .detail-switch input:before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    background: #fff;
    transition: 0.3s;
}

.segment-identifier .detail-switch input:checked:before {
    transform: translateX(20px);
}
*/






 /* Value chain */
.industry-value-chain .sortable-list {
    min-height: 300px;
    padding: 10px;
    border: none;
    background-color: none;
}

.industry-value-chain .sortable-item {
    background-color: #14A378;
    text-align: center;
    color: white;
    margin: 5px 0;
    padding: 10px;
    cursor: pointer;
    border-radius: 16px;
    max-width: 70%;
}

.industry-value-chain .sortable-item:active {
    max-width: 70% !important;
}

.industry-value-chain .selected {
    border: 3px solid black;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(255, 255, 255, 1);
    color: white; 
    font-weight: bold; 
}

.industry-value-chain h4 {
    text-align: center;
    font-weight: bold;
}

.industry-value-chain .section-title {
    padding-bottom: 0;
}

.industry-value-chain .btn-cjm {
    background-color: var(--accent-color) !important; 
    color: var(--contrast-color) !important;
    border-radius: 30px !important;
    padding: 8px 30px !important;
    border: 2px solid transparent !important;
    transition: 0.3s all ease-in-out !important;
    font-size: 14px !important;
}

/* --- Scoped Styles for IDs --- */

.industry-value-chain #currentListDiv,
.industry-value-chain #emergingListDiv {
    display: flex;
    justify-content: center;
}

.industry-value-chain #currentList,
.industry-value-chain #emergingList {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 90%;
}

.industry-value-chain #currentList > div,
.industry-value-chain #emergingList > div {
    width: 640px;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
}






/* Input styling - Globals */
input, textarea, select {
    border: 1px solid black !important; /* Add solid black border */
    box-shadow: none !important; /* Remove any glow or shadow */
    outline: none !important; /* Remove focus outline glow */
}

input:focus, textarea:focus, select:focus {
    border: 1px solid black !important; /* Keep the black border on focus */
    box-shadow: none !important; /* No glow on focus */
    outline: none !important; /* No default focus outline */
}
  
  /* Form control overrides */
  .input-group .form-control {
    width: 100% !important;
    max-width: 500px !important;
    margin: 0 auto;
  }
  

  @media (min-width: 768px) {
    .input-group .form-control {
        max-width: 700px !important;
    }
  }
  
  /* Toggle options panel */
  .toggle-options {
    cursor: pointer;
    text-align: center;
    padding: 5px;
    color: #666;
    transition: transform 0.3s ease;
  }
  
  .toggle-options:hover {
    color: #333;
  }
  
  .toggle-options i {
    transition: transform 0.3s ease;
  }
  
  .toggle-options.active i {
    transform: rotate(180deg);
  }
  
  #moreOptionsPanel {
    display: none;
    transition: all 0.3s ease;
  }
  
  #moreOptionsPanel.show {
    display: block !important;
  }
  
  
  /* Common Button Styling */
  .btn-cjm {
    background-color: var(--accent-color) !important; 
    color: var(--contrast-color) !important;
    border-radius: 30px !important;
    padding: 8px 30px !important;
    border: 2px solid transparent !important;
    transition: 0.3s all ease-in-out !important;
    font-size: 14px !important;
  }
    
  .btn-cjm:hover {
    border-color: var(--accent-color) !important;
    background-color: transparent !important;
    color: var(--accent-color) !important;
  }
  
  /* Toggle container styling */
  .vc-toggle-container {
    display: flex;
    justify-content: space-between;
    width: 400px;
    background-color: #ccc;
    border-radius: 50px;
    padding: 5px;
    cursor: pointer;
    margin: 0 auto;
    margin-bottom: 20px;
  }
  
  .vc-toggle-option {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.4s ease, color 0.4s ease;
  }
  
  .vc-selected {
    background-color: white;
    color: black;
  }
  
  .vc-toggle-option:not(.vc-selected) {
    background-color: #ccc;
    color: gray;
  }
  
  /* Segment and persona divs */
  .segment-div, .persona-div {
    font-size: 1.1em;
    width: 50%;
    background-color: #C44F30;
    color: white;
    border: 2px solid black;
    border-radius: 10px;
    margin: 10px auto;
    padding: 15px 20px;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  
  .close-icon {
    position: absolute;
    right: 10px;
    top: 30%;
    transform: translateY(-50%);
    cursor: pointer;
    color: white;
  }
  
  /* Help button positioning */
  .help-btn-container {
    display: flex;
    justify-content: flex-end;
    max-width: 500px;
    margin: 0 auto;
    margin-bottom: -10px;
  }
  
  /* Common color scheme variables */
  :root {
    --goals-background-color: #EBEFF5;
    --touchpoint-background-color: #EBF5F1;
    --painpoint-background-color: #F5EBEF;
    --activities-background-color: #F4F5EB;
    --opportunities-background-color: #EBF5F1;
    --emotions-background-color: #EBEFF5;
  }
  
  /* Row styling for journey maps */
  .goals-row { background-color: var(--goals-background-color) !important; }
  .touchpoint-row { background-color: var(--touchpoint-background-color) !important; }
  .painpoint-row { background-color: var(--painpoint-background-color) !important; }
  .activities-row { background-color: var(--activities-background-color) !important; }
  .opportunities-row { background-color: var(--opportunities-background-color) !important; }
  .emotions-row { background-color: var(--emotions-background-color) !important; }
  
  /* Rounded corners for rows */
  table .goals-row td:first-child,
  table .touchpoint-row td:first-child,
  table .painpoint-row td:first-child,
  table .activities-row td:first-child,
  table .opportunities-row td:first-child,
  table .emotions-row td:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom: 0px;
    border-top: 0px;
  }
  
  table .goals-row td:last-child,
  table .touchpoint-row td:last-child,
  table .painpoint-row td:last-child,
  table .activities-row td:last-child,
  table .opportunities-row td:last-child,
  table .emotions-row td:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom: 0px;
    border-top: 0px;
  }
  
  /* Common cell styling */
  .cjm_cell {
    text-align: left !important;
  }
  
  .hilight_cell{
    color: #1A5D1A;
  }
  
  /* Common text utilities */
  .title {
    color: #C44F30;
  }
  
  .subtitle {
    font-size: .75em;
    margin-bottom: 10px;
    font-style: italic;
  }
  
  /* Go further links */
  .go-further-link {
    text-decoration: underline !important;
    cursor: pointer;
    transition: opacity 0.3s ease;
  }
  
  .go-further-link:hover {
    opacity: 0.7;
  }
  
  
  
  .help-tooltip {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
    max-width: 300px;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.help-icon {
    color: #6c757d;
    cursor: pointer;
    font-size: 16px;
    margin-left: 10px;
}

.clickable-hint {
    color: #6c757d;
    font-size: 0.9em;
    font-style: italic;
    margin-bottom: 20px;
    text-align: center;
}

.input-container {
    max-width: 800px;
    margin: 0 auto 30px auto;
}


