﻿

/* Modal Overlay - HIDDEN BY DEFAULT */
.dash-new-mod-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

    /* When modal is shown */
    .dash-new-mod-overlay.dash-new-mod-show {
        display: flex !important;
        animation: dash-new-mod-fadeIn 0.3s ease forwards;
    }

@keyframes dash-new-mod-fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Modal Container */
.dash-new-mod-container {
    position: relative;
    background: #f5f7fa;
    border-radius: 16px;
    max-width: 750px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    opacity: 0;
}

.dash-new-mod-overlay.dash-new-mod-show .dash-new-mod-container {
    animation: dash-new-mod-scaleIn 0.3s ease forwards;
}

@keyframes dash-new-mod-scaleIn {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Close Button */
.dash-new-mod-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease;
    color: #6b7280;
    padding: 0;
}

    .dash-new-mod-close:hover {
        background: white;
        color: #374151;
        transform: scale(1.05);
    }

/* Back Button */
.dash-new-mod-back {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease;
    color: #6b7280;
    padding: 0;
}

    .dash-new-mod-back:hover {
        background: white;
        color: #2563eb;
        transform: scale(1.05);
    }

/* Screen Container */
.dash-new-mod-screen {
    display: none;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.dash-new-mod-screen-active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

/* Content */
.dash-new-mod-content {
    text-align: center;
    overflow-y: auto;
    max-height: 90vh;
    height:90vh;
    scrollbar-width: none;
    /* IE/Edge old */
    -ms-overflow-style: none;
    background:#fff;
}

    /* Chrome, Safari, Edge */
    .dash-new-mod-content::-webkit-scrollbar {
        display: none;
    }



/* Image Placeholder */
.dash-new-mod-image-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.dash-new-mod-image-shadow {
    width: 100%;
    height: 95px;
    /* margin: -77px auto 0; */
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.17) 10.06%, rgba(255, 255, 255, 0.79) 29.12%, rgba(255, 255, 255, 0.97) 43.3%, #FFF 121.57%);
    filter: blur(12px);
    z-index: 3;
    position: absolute;
    bottom: -12px;
    left: 0;
}


.dash-new-mod-image-area {
    width: 450px;
    height: 300px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Title */
.dash-new-mod-title {
    font-size: 20px;
    font-weight: 700;
    color: #393939;
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.dash-new-mod-title-feature {
    font-size: 27px;
    font-weight: 800;
    color: #393939;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    padding-top:0;
    margin-top:0;
}

.dash-new-mod-highlight {
    color: #0451BB;
}

/* Description */
.dash-new-mod-description {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.4;
    margin-bottom: 14px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.dash-new-mod-description-small {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Link Button */
.dash-new-mod-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #2563eb;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin: 0;
    margin-bottom: 20px;
    transition: all 0.2s ease;
}

    .dash-new-mod-link-btn:hover {
        gap: 12px;
        color: #1d4ed8;
    }

    .dash-new-mod-link-btn svg {
        height: 15px;
        width: 15px;
    }
/* Actions */
.dash-new-mod-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.dash-new-mod-btn-secondary {
    padding: 12px 22px;
    border-radius: 8px;
    border: 1px solid var(--Gray-300, #D5D7DA);
    background: var(--Base-White, #FFF);
    /* Shadow/xs */
    box-shadow: 0 1px 2px 0 rgba(10, 13, 18, 0.05);
    color: #374151;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    margin: 0;
}

    .dash-new-mod-btn-secondary:hover {
        border-color: #d1d5db;
        background: #f9fafb;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

.dash-new-mod-btn-primary {
    padding: 12px 22px;
    border-radius: 8px;
    background: #0451BB;
    /* Shadow/xs */
    box-shadow: 0 1px 2px 0 rgba(10, 13, 18, 0.05);
    border-radius: 10px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    margin: 0;
}

    .dash-new-mod-btn-primary:hover {
        background: #1d4ed8;
        border-color: #1d4ed8;
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
    }

/* Features */
.dash-new-mod-features {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.dash-new-mod-feature-item {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 6px;
    max-width: 200px;
}

.dash-new-mod-icon {
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dash-new-mod-feature-text {
    font-size: 12px;
    line-height: 1.3;
    text-align: start;
    color: #535862;
    font-weight: 500;
    font-family: 'Inter';
}

.dash-s1-up {
    background: #EBEBED;
    padding: 20px 12px;
    position: relative;
    overflow: hidden;
}

.dash-up-s2 {
    background: #EBEBEDA1;
    position: relative;
    padding: 2rem 2rem;
    padding-bottom: 0;
}

.dash-bott-s2 {
    padding: 1rem 3rem;
    background: white;
    position: relative;
}

.screen-1-banner {
    width: 100%;
    height: 240px;
    object-fit: contain;
}

.dash-bottoms-1 {
    padding: 20px 31px;
    background: white;
    position: relative;
}

.screen-2-banner {
    width: 100%;
    height: 200px;
    object-fit: contain;
}

.screen-3-image {
    width: 100%;
    height: 210px;
    object-fit: contain;
}

.dash-s3-up {
    background: #EBEBEDA1;
    position: relative;
    padding: 2rem 2rem;
    padding-bottom: 0;
}

.dash-s3-bott, .dash-bott-s4 {
    padding: 1rem 3rem;
    background: white;
    position: relative;
}

.dash-up-s4 {
    background: #EBEBED;
    padding: 20px 12px;
    position: relative;
}

.screen-4-image {
    width: 100%;
    height: 210px;
    object-fit: contain;
    position: relative;
    z-index: 22;
}
.screen-7-image {
    width: 100%;
    height: 210px;
    object-fit: contain;
}

.screen-4-place {
    position: static;
}

.screen-5-image {
    width: 100%;
    height: 190px;
    object-fit: contain;
}

.dash-up-s5 {
    background: #EBEBEDA1;
    position: relative;
    padding: 2rem 2rem;
    padding-bottom: 0;
}

.screen-6-image {
    width: 100%;
    height: 230px;
    object-fit: contain;
}

.dash-s6-up {
    background: #EBEBEDA1;
    position: relative;
    padding: 1rem 2rem;
    padding-bottom: 0;
}

.dash-s5-bottom, .dash-s6-bottom {
    padding: 1rem 3rem;
    background: white;
    position: relative;
}
.dash-s7-bottom {
    padding: 1rem 3rem;
    position:relative;
}
.dash-s7-up {
    padding: 2rem 2rem;
}
/* Responsive */
/* Dot Progress Indicator */
.dash-new-mod-dots-container {
    position: absolute;
    top: -15%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dash-new-mod-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .dash-new-mod-dot:hover {
        background: #9ca3af;
        transform: scale(1.2);
    }

    .dash-new-mod-dot.active {
        width: 24px;
        border-radius: 4px;
        background: #0451BB;
    }

/* Hide dots on screen 1 */
#screen1 .dash-new-mod-dots-container {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .dash-new-mod-dots-container {
        bottom: 15px;
        padding: 6px 12px;
        gap: 6px;
    }

    .dash-new-mod-dot {
        width: 6px;
        height: 6px;
    }

        .dash-new-mod-dot.active {
            width: 18px;
        }
}
@media (max-width: 768px) {
    .dash-new-mod-container {
        width: 95%;
        max-height: 95vh;
    }

    .dash-new-mod-content {
        padding: 10px 12px;
    }

    .dash-new-mod-image-area {
        width: 100%;
        height: 220px;
    }

    .dash-new-mod-title {
        font-size: 20px;
    }

    .dash-new-mod-title-feature {
        font-size: 22px;
    }

    .dash-new-mod-features {
        gap: 30px;
    }

    .dash-new-mod-actions {
        flex-direction: column;
    }

    .dash-new-mod-btn-secondary,
    .dash-new-mod-btn-primary {
        width: 100%;
    }
    .dash-up-s2 {
       
        padding: 1rem 1rem;
        padding-bottom: 0;
    }

    .dash-s6-up{
        padding:1rem;
    }
}
