
/* Utility */
.hidden {
    display: none;
}

#splash-modal .modal-container {
    max-width: min(48rem, calc(100vw - 2rem));
    border-radius: 1.25rem;
    padding: 0rem; 
    overflow: hidden;
}

/* Modal Styles */
.modal-layout {
    padding: 0rem;
}

/* Columns */
.info-column {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background-color: #ffffff;
    text-align: left;
}
.action-column {
    padding: 1.5rem;
    position: relative;
    transition: height 0.3s ease-in-out;
    background-color: #f3f4f6;
}

/* Logo & Text */
.logo-container {
    margin: 0 auto 1rem auto;
    width: fit-content;
}
.logo-container svg {
    height: 2.5rem;
    width: auto;
}
.info-column p {
    color: #666666;
    margin-bottom: 0;
    margin-top: 1rem;
    text-align: left;
}
.info-column .flex-grow { display: none; }

/* Action Column */
.action-column h2 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: #333333;
    text-align: left;
}
.action-cards-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Action Card Buttons */
.action-card {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    transition: all 0.3s;
    text-align: left;
    cursor: pointer;
    background-color: #fff;
}
.action-card:hover {
    /* transform: translateY(-2px); */
    background-color: #3b82f622;
    box-shadow: 0 10px 15px -3px hsla(217, 91%, 30%, 0.102), 0 4px 6px -4px hsla(217, 91%, 30%, 0.102);
}

.action-card:hover .card-icon-wrapper svg {

    color: #3b82f6;
}

.action-card .card-icon-wrapper {
    background-color: #f3f4f6; 
    padding: 0.75rem;
    border-radius: 0.5rem;
}
.action-card .card-icon-wrapper svg {
    transition: all 0.3s;
    height: 1.5rem;
    width: 1.5rem;
    color: #666;
}
/*.action-card.primary .card-icon-wrapper svg {
    color: #3b82f6;
}*/

.action-card.primary {
    background-color: #3b82f622;
}
.action-card.primary:hover {
    background-color: #3b82f644;
}

/* .action-card.primary .card-icon-wrapper {
    background-color: #3b82f6; 
} */
.action-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 0;
}
.action-card p {
    font-size: 0.875rem;
    color: #666666;
    margin-top: 0.125rem;
}

/* How-to-use Link */
.how-to-use-container-mobile {
    padding: 0 1.5rem 1.5rem 1.5rem;
    margin-top: 1rem;
    text-align: center;
}
.how-to-use-container-desktop { display: none; }

.how-to-use-link {
    font-size: 0.875rem;
    color: #6b7280;
    text-decoration: underline;
}
.how-to-use-link:hover {
    color: #3b82f6;
}

/* --- View Animation Styles --- */
/*.view {
    width: 100%;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.view.is-active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
    z-index: 10;
}*/
.view.is-hidden {
    opacity: 0;
/*    transform: translateY(10px); /~ Slide down/out ~/
    position: absolute;
    top: 0;
    left: 0;
    right: 0; /~ Constrain width ~/
    z-index: 5;
    pointer-events: none;*/
}
/* ----------------------------- */

/* Diagram Selection View */
/*.selection-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}
.back-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-subtle);
    padding: 0.25rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    transition: background-color 0.2s;
}
.back-btn:hover {
    background-color: var(--color-bg-alt);
}
.selection-header h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
}
.diagram-types-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}
.diagram-type-card {
    padding: 1rem;
    border: 1px solid #e5e7eb; /~ gray-200 ~/
    border-radius: var(--border-radius);
    background-color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
}
.diagram-type-card:hover {
    background-color: var(--color-primary-light);
    border-color: var(--color-primary);
    color: var(--color-primary);
}*/


/* Responsive Styles (Desktop) */
@media (min-width: 1024px) {
    .modal-layout {
        display: flex;
    }
    .info-column {
        width: 40%;
        padding: 2.5rem;
    }
    .action-column {
        width: 60%;
        padding: 2.5rem;
    }
    .action-column h2 {
        margin-bottom: 2rem;
    }
    .logo-container {
        margin: 0 0 1rem 0;
    }
    .info-column .flex-grow { 
        display: block;
        flex-grow: 1;
    }
    .how-to-use-container-mobile { display: none; }
    .how-to-use-container-desktop {
        display: block;
        margin-top: 2.5rem;
        text-align: left;
    }
    .action-cards-container {
        gap: 1rem;
    }
    .action-card {
        padding: 1rem;
    }
    .diagram-types-container {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
    }
    /* Adjust absolute positioning for desktop view */
/*    .view.is-hidden {
        left: 2.5rem; /~ match action-column padding ~/
        right: 2.5rem; /~ match action-column padding ~/
    }*/
}