.grid-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Responsive columns */
    gap: 20px;
    margin-top: 20px;
}

.grid-item {
    background: #fff;
    padding: 15px;
    border: 1px solid #ddd;
    text-align: center;
    border-radius: 8px;
}

.grid-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

.grid-item h4 {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 600;
}

.grid-item p {
    font-size: 14px;
    color: #555;
}

.copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #555555;
    margin-left: 8px;
    font-size: 16px;
}
.copy-btn:hover {
    color: #007bff;
}

.view_btn{
padding:5px;
border-radius: 7px;
box-shadow: 1px 1px 80px 2px rgba(0,0,0,0.3);
}

.view_btn:hover{
scale: 1.1;
background: rgb(254,84,0);
color:#fff;
}

.custom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.custom-modal-content {
    background-color: #fff;
    padding: 25px;
    width: 90%;
    max-width: 500px;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.custom-close {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: red;
}

.contain_details{
position: relative;
justify-content: space-between;
display: grid;

}



.custom-modal_1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 999;
}

.custom-modal_1-content {
    background: white;
    max-width: 500px;
    margin: 100px auto;
    padding: 20px;
    border-radius: 6px;
    position: relative;
}

.custom-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}
select.form-control {
    height: auto;
    min-height: 45px;
}

input[type="date"]{
width: 100%;
padding:10px;
}

.form-group label{
display: flex;

}

.form_position{
position: relative;
margin: auto 0;

box-shadow: 2px 3px 60px 4px rgba(0, 0, 0, 0.3);
}
