﻿
:root {
    --app-max-width: 1850px;
}


/* Your full-height container */
.app-root {
    min-height: 100dvh;
}
/* dynamic visible height */

/* If you have a fixed/sticky bottom bar/buttons */
.has-bottom-actions {
    padding-bottom: env(safe-area-inset-bottom);
}





.upload-tips {
    list-style: none;
    padding: 0;
    margin: 10px 0 10px 0;
    text-align: left;
}

    .upload-tips li {
        position: relative;
        padding-left: 22px;
        margin-bottom: 8px;
        line-height: 1.4;
        font-size: 15px;
    }

        .upload-tips li::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 0;
            color: #1e40ff;
            font-weight: bold;
        }











html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    font-family: system-ui, sans-serif;
    /*background-color: #E8F0FC;*/
}

#app {
    min-height: 100dvh;
}

.custom-upload {
    background-color: #007BFF; /* replace with your ConstStrings value */
    height: 20px;
    border-radius: 15px;
    color: #FFFFFF;
    padding: 4px 15px;
    margin: 0px 0px 5px 0px;
}

.section-container {
    position: relative;
    width: 100vw;
    height: 100dvh;
    overflow: hidden;
    max-width: var(--app-max-width);
    margin: 0 auto;
}

.custom-radio {
    transform: scale(1.5); /* 1.5 = 150% size */
    margin: 0 6px; /* optional: adjust spacing */
}

.section {
    top: 56px;
    bottom: 56px;
    left: 0;
    right: 0;
    z-index: 0;
    transform: translateX(100vw);
    opacity: 1;
    position: absolute;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    overflow: hidden;
    border: 0px solid #000000;
    max-width: var(--app-max-width);
    margin: 0 auto;
}

    .section > .content {
        max-width: var(--app-max-width);
        margin: 0 auto;
        width: 100%;
    }

.top-bar {
    height: 56px;
    background: #FFFFFF;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    max-width: var(--app-max-width);
    margin: 0 auto;
}

.bottom-bar {
    height: 56px;
    background: #FFFFFF;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    max-width: var(--app-max-width);
    margin: 0 auto;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    background-color: transparent;
    width: 350px;
    height: 405px;
    position: relative; /* Ensure grid context */
}

.photo-item {
    background: white; /* Ensure visibility during drag */
    width: 100px;
    height: 118px; /* Fixed height to match images */
    padding: 5px;
    overflow: hidden;
    /* display: inline-block; */
    border-radius: 6px;
    position: relative;

    isolation: isolate;
}

    .photo-item img {
        width: 100px;
        height: 118px;
        position: relative;
        display: inline-block;
        border-radius: 6px;
    }


    .photo-item img,
    .photo-item video {
        -webkit-user-drag: none;
        user-drag: none;
        -webkit-touch-callout: none;
        user-select: none;
    }



.drag-handle {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 9999;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.45);
    color: white;
    font-size: 16px;
    line-height: 1;
    cursor: grab;
    touch-action: none; /* important */
    transform: translateZ(0);
}


.delete-icon {
    width: 25px; /* Set the width of the delete icon */
    height: 25px; /* Set the height of the delete icon */
    max-width: 25px; /* Set the width of the delete icon */
    max-height: 25px; /* Set the height of the delete icon */
    cursor: pointer; /* Change the cursor to a pointer on hover */
    opacity: 0.8; /* Slightly transparent */
    z-index: 99;
}

    .delete-icon:hover {
        opacity: 1; /* Fully opaque when hovered */
    }















.form-container {
    max-width: 100%;
    margin: 0px;
}

.form-row {
    margin-bottom: 10px;
}

    .form-row label {
        display: block;
    }

    .form-row input,
    .form-row select {
        width: 100%;
        padding: 5px;
    }

        .form-row input[type="range"] {
            width: 100%;
            cursor: pointer;
        }

    .form-row span {
        display: inline-block;
        margin-left: 10px;
        font-size: 0.9em;
    }






Replace your .slider-wrapper CSS with this
.slider-wrapper {
    position: relative;
    width: 100%;
    height: 35px;
    margin: 0;
    padding: 0;
}

.slider-wrapper::before {
    content: "";
    position: absolute;
    top: 19px;
    left: 15px;
    width: calc(100% - 30px);
    height: 8px;
    background-color: #9BD7FB;
    border-radius: 3px;
    z-index: 0;
    transform: translateY(-50%);
}

.slider-wrapper input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
    left: 0;
    top: 4px;
    width: 100%;
    height: 30px;
    margin: 0;
    padding: 0;
    background: transparent;
}

    .slider-wrapper input[type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: #000080;
        cursor: pointer;
        border: none;
        box-shadow: 0 0 2px rgba(0,0,0,0.3);
    }

    .slider-wrapper input[type="range"]::-moz-range-thumb {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: #000080;
        cursor: pointer;
        border: none;
    }
















.range-slider {
    position: relative;
    width: 100%;
    height: 35px;
    margin: 0;
    padding: 0;
}

    /* Visible blue line */
    .range-slider::before {
        content: "";
        position: absolute;
        top: 19px;
        left: 15px;
        width: calc(100% - 30px);
        height: 8px;
        background-color: #9BD7FB;
        border-radius: 3px;
        z-index: 0;
        transform: translateY(-50%);
    }

    /* Both overlapping range inputs */
    .range-slider input[type=range] {
        -webkit-appearance: none;
        appearance: none;
        position: absolute;
        left: 0;
        top: 4px;
        width: 100%;
        height: 30px;
        margin: 0;
        padding: 0;
        background: transparent;
        pointer-events: none;
    }



        /* Thumb */
        .range-slider input[type=range]::-webkit-slider-thumb {
            pointer-events: all;
            -webkit-appearance: none;
            appearance: none;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: #000080;
            border: none;
            cursor: pointer;
            box-shadow: 0 0 2px rgba(0,0,0,0.3);
        }

        .range-slider input[type=range]::-moz-range-thumb {
            pointer-events: all;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: #000080;
            border: none;
            cursor: pointer;
        }

        /* Thumb */
        .range-slider input[type=range]::-webkit-slider-thumb {
            pointer-events: all;
            -webkit-appearance: none;
            appearance: none;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: #000080;
            border: none;
            cursor: pointer;
            box-shadow: 0 0 2px rgba(0,0,0,0.3);
        }

        .range-slider input[type=range]::-moz-range-thumb {
            pointer-events: all;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: #000080;
            border: none;
            cursor: pointer;
        }

.range-values {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-top: 30px;
}


.button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 2px 0px 0px 10px;
}

    .button-container button {
        padding: 3px 8px 3px 8px;
        margin: 0px 0px 0px 0px;
        height: 24px;
        font-size: 16px;
        font-family: Arial;
        border-radius: 12px;
        background-color: #3373C4;
        color: #FFFFFF;
        border: none;
        min-width: 80px;
    }


@keyframes slideUp {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

.slide-up {
    animation: slideUp 1s ease-in-out;
}




/* Approved cinematic graphics replace the old CSS-drawn lower visuals */
.ambient-visual {
    padding: 0 !important;
}

    .ambient-visual .visual-frame,
    .ambient-visual .visual-core-dot,
    .ambient-visual .visual-orbit,
    .ambient-visual .visual-line,
    .ambient-visual .visual-card,
    .ambient-visual .visual-node {
        display: none !important;
    }

.ambient-visual-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    border-radius: inherit;
}


/* No-crop version: fit the full approved image inside the existing lower visual section */
/* Final sharp 1:1 image rendering */
.ambient-visual {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 300px !important;
    height: min(320px, 42vw) !important;
    padding: 14px !important;
    background: radial-gradient(circle at 20% 20%, rgba(68, 179, 255, .18), transparent 32%), radial-gradient(circle at 80% 80%, rgba(255, 78, 216, .15), transparent 35%), #06111f !important;
}

.ambient-visual-image {
    width: auto !important;
    height: auto !important;
    max-width: 92% !important;
    max-height: 92% !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
    border-radius: 18px !important;
    image-rendering: auto !important;
    transform: translateZ(0);
    filter: drop-shadow(0 18px 50px rgba(0,0,0,.45));
}
