/* 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);
}


















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: 450px;
    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: center;
    overflow: hidden;
    justify-content: center;
    border: 0px solid #000000;

    max-width: 450px;
    margin: 0 auto;
}

.section > .content {
    max-width: 450px;
    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: 450px;
    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: 450px;
    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;
}

    .photo-item img {
        width: 100px;
        height: 118px;
        position: relative;
        display: inline-block;
    }

.delete-icon {
    width: 35px; /* Set the width of the delete icon */
    height: 35px; /* Set the height of the delete icon */
    max-width: 35px; /* Set the width of the delete icon */
    max-height: 35px; /* 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;
    }







.slider-wrapper {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 16px;
    padding: 18px 0;
}

    .slider-wrapper input[type="range"] {
        -webkit-appearance: none;
        width: 100%;
        height: 8px;
        background: #9BD7FB;
        border-radius: 3px;
        outline: none;
        transition: background 0.3s;
        margin: 3px 0px 0px 7px;
        padding: 0px 0px 0px 0px;
    }

        /* slider ball */
        .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;
        }

    .slider-wrapper span {
        text-align: center;
        font-size: 14px;
        color: #333;
    }









.range-slider {
    position: relative;
    width: 100%;
    padding: 10px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
}

    /* The visible track bar */
    .range-slider::before {
        content: "";
        position: absolute;
        top: 25px;
        left: 0px;
        width: 100%;
        height: 8px;
        background-color: #9BD7FB;
        border-radius: 3px;
        transform: translateY(-50%);
        z-index: 0;
        margin: 0px 0px 0px 7px;
        padding: 0px 0px 0px 0px;
    }

    /* The track bars for the 2 overlapping must be transparent to see both thumbs */
    .range-slider input[type=range] {
        -webkit-appearance: none;
        appearance: none;
        position: absolute;
        width: 100%;
        height: 16px;
        background: transparent;
        pointer-events: none;
    }

        /* range slider balls */
        .range-slider input[type=range]::-webkit-slider-thumb {
            pointer-events: all;
            -webkit-appearance: none;
            appearance: none;
            height: 30px;
            width: 30px;
            border-radius: 50%;
            background: #000080;
            cursor: pointer;
            z-index: 2;
            margin: 0px 0px 0px 0px;
            padding: 0px 0px 0px 0px;
        }

        .range-slider input[type=range]::-moz-range-thumb {
            pointer-events: all;
            height: 30px;
            width: 30px;
            border-radius: 50%;
            background: #000080;
            cursor: pointer;
            margin: 0px 0px 0px 0px;
            padding: 0px 0px 0px 0px;
        }

.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;
}