/* ################ Begin: Zahid Khattak id- 0396 ################  */


.gallery-upload-file-div {
    border: 2px dashed var(--border-color);
    border-radius: 20px;
    padding: 20px;
    width: 200px; /* Set the desired width */
    height: auto; /* Adjust height as necessary */
    overflow: hidden; /* Hide any overflow */
    position: relative; /* Allow absolute positioning of children */
  }

  .gallery-upload-file-div img {
    width: 100%; /* Make the image take the full width of the div */
    height: auto; /* Maintain aspect ratio */
    object-fit: cover; /* Ensure the image covers the div without distortion */
  }
.gallery-upload-file-div:hover{
    cursor: pointer;
}

.gallery-input-long {
    height: 150px;
    color: var(--input-placeholder-color);
}

.gallery-input-long:placeholder {
    margin-bottom: 200px;
    vertical-align: top;
}

.gallery-input:focus{
    border:1px solid #dc3545;
}

#gallery-file-input-field {
    display: none;
}


.gallery-step-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Media queries starts here */
@media (min-width: 320px) and (max-width: 768px) {
    .gallery-upload-img {
        width: 100%;
    }

    .gallery-upload-file-div img{
        width: 50%;
    }
    .gallery-upload-file-div {
        margin-top: 50px;
        width: 80%;
    }

    .gallery-save-btn {
        width: 50%;
        padding: 1%;
    }

    .gallery-cancel-btn {
        width: 50%;
        padding: 1%;
    }
    .gallery-progress-bar-line{
            position: absolute;
            top: 20%;
            left: 3%;
            right: 9%;
            height: 10px;
            background-color: #ccc;
            z-index: 0;
            border-radius:10px ;
    }
}

@media (min-width: 769px) and (max-width: 1440px) {
    .gallery-progress-bar-line {
        position: absolute;
        top: 20%;
        left: 3%;
        right: 4%;
        height: 10px;
        background-color: #ccc;
        z-index: 0;
        border-radius:10px ;
    }
    .gallery-upload-file-div img{
        width: 50%;
    }
}

/* Media Queries Ends here */

/* Progress bar code starts here */
.gallery-step-wrapper {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    position: relative;
}



.gallery-progress-bar-line-active {
    background-color: #dc3545;
    /* Red active line */
    width: 0;
    height: 100%;
    position: absolute;
    transition: width 0.4s ease;
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    background-color: #f1f1f1;
    border: 3px solid #ccc;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    text-align: center;
    line-height: 44px;
    font-size: 18px;
    font-weight: bold;
    color: #6c757d;
    display: none;
    /* Hide steps initially */
}

.step.active,
.step.current {
    display: block;
    /* Show active/current steps */
}

.step.active {
    background-color: #dc3545;
    /* Active step filled */
    color: white;
    border: 3px solid #dc3545;
    display: flex;
    justify-content: center;
    align-items: center;
}

.step.current {
    background-color: white;
    border: 3px solid #dc3545;
    /* Border for current step */
    color: #dc3545;
    display: flex;
    justify-content: center;
    align-items: center;
}

.step-text {
    text-align: center;
    margin-top: 10px;
    /* Adjusted for better spacing */
    color: #6c757d;
    display: none;
    /* Hide step text initially */
}

.step-text.active {
    display: block;
    /* Show step text for active and current steps */
    color: #dc3545;
    font-weight: bold;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}
/* Progress bar code ends here */


/* ################ End: Zahid Khattak id- 0396 ################ */