﻿body {
}

.gallery {
    overflow-x: auto;
    scroll-behavior: smooth;
}

.card {
    background-color: #fff;
    border: 2px solid #dfe1e3;
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
    height: 200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card {
    position: relative;
    transition: transform 0.3s ease, border 0.3s ease; /* Smooth transitions */
}

.highlighted {
    border: 2px solid #484444; /* Add a blue border or any style */
    transform: scale(1.05); /* Slightly enlarge the highlighted image */
    transition: transform 0.3s ease, border 0.3s ease;
}


.card img {
    display: block;
    width: 100%; /* Ensure the image width is within the card's width */
    height: 100%; /* Ensure the image height is within the card's height */
    object-fit: cover; /* Show the entire image without cropping */
    border-radius: 10px;
    box-sizing: border-box; /* Ensures padding is included within the width/height */
    padding: 0.5rem !important;
}

.card3 {
    border: 2px solid black;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    margin-right: 3.5rem !important;
}

    .card3 i {
        font-size: -webkit-xxx-large;
        padding: 10px;
    }

.card.scaled {
    transform: scale(1.05); /* Scale effect */
}

.add-more-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.action-buttons {
    position: absolute;
    bottom: 20px; /* Adjust this value to position the buttons */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Adjust position to truly center */
    display: flex; /* Flex for button alignment */
    gap: 10px; /* Space between buttons */
    z-index: 20; /* Ensure it appears above other content */
}

.btn-group {
    display: flex;
    gap: 10px;
    align-self: center;
}

.btn1 {
    background-color: white; /* White background */
    border: 2px solid #00a64f; /* Black border */
    border-radius: 50%; /* Circular shape */
    width: 60px; /* Set width */
    height: 60px; /* Set height */
    display: flex;
    align-items: center;
    justify-content: center; /* Center the icon */
    padding: 20px; /* Add padding */
    transition: transform 0.3s ease; /* Smooth scale transition */
}

.btn2 {
    background-color: white; /* White background */
    border: none;
    display: flex;
    align-items: center;
    justify-content: center; /* Center the icon */
    padding: 20px; /* Add padding */
    transition: transform 0.3s ease; /* Smooth scale transition */
    font-size: 50px;
}

.btn1:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
}



.card:hover {
    display: flex;
}


.gallery-container {
    position: relative;
}

.highlighted .btn-group {
    display: flex; /* Show buttons only for the highlighted image */
}

.scroll-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #333;
    background-color: rgb(218 211 211 / 70%);
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease-in-out;
}

    .scroll-icon.right {
        right: 10px;
    }

    .scroll-icon.left {
        left: 10px;
    }

    .scroll-icon:hover {
        background-color: black;
        color: white;
    }



.gallery::-webkit-scrollbar {
    display: none;
}

.gallery-wrap {
    display: flex;
    align-items: center;
}

.gallery {
    gap: 25px;
}

.btnnext {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s linear;
    border-radius: 10px;
    border: 1px solid #484444;
    padding: 10px 20px;
    background: #484444;
    color: white;
}

    .btnnext > svg {
        margin-left: 8px;
        transition: all 0.4s ease-in;
        color: white;
        width: 16px;
    }

        .btnnext > svg path {
            fill: white;
        }

    .btnnext:hover > svg {
        font-size: 1.2em;
        transform: translateX(6px);
    }
    
    .btnnext > i {
        margin-left: 8px;
        transition: all 0.4s ease-in;
        color: white;
        width: 16px;
    }

        .btnnext > i path {
            fill: white;
        }

    .btnnext:hover > i {
        font-size: 1.2em;
        transform: translateX(6px);
    }

    .btnnext:hover {
        box-shadow: 10px 10px 40px #d1d1d1;
        transform: translateY(-5px);
    }

.btnback {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s linear;
    border-radius: 10px;
    border: 1px solid #484444;
    padding: 10px 20px;
    background: #484444;
    color: white;
}

    .btnback > svg {
        margin-right: 7px;
        transition: all 0.4s ease-in;
        color: white;
        width: 16px;
    }

        .btnback > svg path {
            fill: white;
        }

    .btnback:hover > svg {
        font-size: 1.2em;
        transform: translateX(-5px);
    }

    .btnback:hover {
        box-shadow: 9px 9px 33px #d1d1d1, -9px -9px 33px #ffffff;
        transform: translateY(-2px);
    }

.modal-bottom-half2 {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 75vh; /* Half of the screen's height */
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(100%); /* Initially off the screen (bottom) */
    transition: transform 0.3s ease-out; /* Smooth transition */
}

.modal-bottom-half {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40vh; /* Half of the screen's height */
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(100%); /* Initially off the screen (bottom) */
    transition: transform 0.3s ease-out; /* Smooth transition */
}

/* Bootstrap overrides for modal open animation */
.modal.fade .modal-bottom-half {
    transform: translateY(100%); /* Start off-screen */
}

.modal.show .modal-bottom-half {
    transform: translateY(0); /* Slide into view */
}

.modal.fade .modal-bottom-half2 {
    transform: translateY(100%); /* Start off-screen */
}

.modal.show .modal-bottom-half2 {
    transform: translateY(0); /* Slide into view */
}

.modal-dialog {
    margin: 0;
    display: flex;
    flex-direction: column;
}

.modal-content {
    height: 100%;
    border-radius: 20px 20px 0 0; /* Rounded top corners */
}

.modal-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.modal-header {
    border-bottom: none;
}

.modal-footer {
    margin-top: auto; /* Push footer to the bottom */
    place-content: space-between;
}

.close {
    font-size: 2rem;
}


.close {
    float: right !important;
    font-weight: 700;
    line-height: 1;
    color: #000;
    background: transparent;
    border: 0;
    opacity: .5;
}

/* ------------------------------------------------------------------------------------------------------------------------------ */

/* From Uiverse.io by kyle1dev */
.custom-radio-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
    width: 100%;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0);
    padding: 16px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.custom-radio-container {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 12px 20px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 16px;
    color: #333333;
    user-select: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

    .custom-radio-container:hover {
        background-color: rgba(255, 255, 255, 0.3);
        transform: scale(1.03);
        box-shadow: 0 6px 12px #484444;
    }

    .custom-radio-container input[type="radio"] {
        opacity: 0;
        position: absolute;
    }

.custom-radio-checkmark {
    position: relative;
    height: 24px;
    width: 24px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3);
    transition: background-color 0.4s ease, transform 0.4s ease;
    margin-right: 12px;
    display: inline-block;
    vertical-align: middle;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.custom-radio-container input[type="radio"]:checked + .custom-radio-checkmark {
    background-color: #ffffff;
    border-color: #007bff;
    box-shadow: 0 0 0 8px rgba(0, 123, 255, 0.2);
    transform: scale(1.2);
    animation: pulse 0.6s forwards;
}

.custom-radio-checkmark::after {
    content: "";
    position: absolute;
    display: none;
}


.custom-radio-container
input[type="radio"]:checked + .custom-radio-checkmark::after {
    display: block;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #007bff;
    transform: translate(-50%, -50%);
}

@keyframes pulse {
    0% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(1.4);
    }

    100% {
        transform: scale(1.2);
    }
}

.textarea1 {
    border-radius: 8px;
    height: 80px;
    width: 100%;
    resize: none;
    outline: 0;
    padding: 8px 14px;
    border: 1px solid rgb(219, 213, 213);
}

/* ---------------------------------------------  Modal 1  --------------------------------------------------------------------------------- */

/* From Uiverse.io by omar49511 */
.container-btn-file {
    margin-bottom: 15px;
    width: 75%;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    background-color: #000;
    color: #fff;
    border-style: none;
    padding: 1em 2em;
    border-radius: 0.5em;
    overflow: hidden;
    z-index: 1;
    box-shadow: 4px 8px 10px -3px rgba(0, 0, 0, 0.356);
    transition: all 250ms;
}

    .container-btn-file input[type="file"] {
        position: absolute;
        opacity: 0;
        cursor: pointer;
    }

    .container-btn-file > svg {
        margin-right: 1em;
    }

    .container-btn-file::before {
        content: "";
        position: absolute;
        height: 100%;
        width: 0;
        border-radius: 0.5em;
        background-color: #000;
        z-index: -1;
        transition: all 350ms;
    }

    .container-btn-file:hover::before {
        width: 100%;
    }