.container {
    min-height: 100vh;
    padding-bottom: 20px;
}

.cards {
    max-height: 90vh;
    overflow-y: auto;
    padding-bottom: 19% !important;
}



        .logo {
            width: 47%;
            margin-bottom: 34px;
            margin-top: 32px;
/*            margin-left: 33%;*/
        }

        .hero-img {
            width: 110%;
            margin-top: 0%;
            /* border-radius: 10px; */
            margin-left: -6%;
        }

        .imgbanner img {
            max-width: 139%;
/*            height: 69px;*/
        }

        .btn-custom {
               display: block;
    width: 70%;
    background-color: #fdb714;
    color: black;
    font-weight: bold;
    padding: 11px;
    text-align: center;
    text-decoration: none;
    margin-left: 52px;
    border: none;
    font-size: 16px;
    margin-top: 10px;
        }
        

        @media only screen and (max-width:320px) {
            .btn-custom {
                display: block !important;
                width: 88% !important;
                background-color: #fdb714 !important;
                color: black !important;
                font-weight: bold !important;
                padding: 15px !important;
                text-align: center !important;
                text-decoration: none !important;
                margin-left: 20px !important;
                border: none !important;
                font-size: 16px !important;
            }

            .hero-img {
                width: 113% !important;
                margin-top: 2% !important;
                /* border-radius: 10px !important; */
                margin-left: -4% !important;
            }

            .imgbanner img {
                max-width: 109% !important;
                height: auto !important;
            }
            .top-images {
            margin-bottom: 20px !important;
            text-align: center !important;
            width: 340px !important;
            margin-left: 9px !important;
        }
          .logo {
                height: 112px!important;
    width: 155px!important;
    margin-left: 25%!important;
    margin-top: 13%!important;
}
        }
     
      }
       @media only screen and (max-width:320px){
             .login-back-button a i {
    color: white !important;
} }
  .logo {
/*                height: 112px!important;*/
/*    width: 155px!important;*/
    margin-left: 25%!important;
    margin-top: 20%!important;
}

        .btn-custom:hover {
            background-color: #e0a800;
        }

        .login-text {
            margin-top: 20px;
            font-size: 14px;
        }

        .login-text a {
            color: #007bff;
            text-decoration: none;
            font-weight: bold;
        }

        .version {
            font-size: 12px;
            margin-top: 10px;
            color: #000000;
            font-weight: 600;
    font-size: 13px;
        }

        .main-designe {
            background: white;
            margin-top: -9px;
            border-radius: 34px 34px 0px 0px;
        }

        .login-texts {
            margin-top: 25%;
            color: black;
                font-weight: 700;
        }

        .top-images {
            margin-bottom: 20px;
            text-align: center;
            width: 97%;
            margin-left: 10px;
        }

        .buttons-section {
            text-align: center;
        }
        .login-back-button a i {
    font-size: 2rem;
    line-height: 1;
    margin-left: -23px;
    color: white;
}

.top_heder_content{
       margin-left: 10%;
    margin-top: -15%;
    font-size: 17px;
    color: black;
    font-weight: 800;
    letter-spacing: 1px;
}

    .sticky-heading {
   position: sticky;
    top: 70px;
    z-index: 1000;
   padding: 10px 0;
    }


    .top-products-area {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 80vh; 
    }
       .space_buttom {
    margin-bottom: 15%; 
    }

   .space_buttom_succ {
        padding-bottom: 42%;
    }
     .space_buttom_form {
        padding-bottom: 51%;
    }

.card.mx-auto.p-3.shadow {
    max-width: 400px;
    border-radius: 15px;
    margin-top: 30px;
    background: #e9dedc;
    border-right: 5px solid #d9a406;
    padding: 12px!important;
}

.card.mx-auto.p-3.shadows {
    max-width: 400px;
    border-radius: 15px;
    margin-top: 18%;
    background: #e9dedc;
    border-right: 5px solid #d9a406;
}

span.text-warnings.text-darks {
     color: #d9a406;
     font-weight: 800;
         margin-top: -1%;
}
.text-muted-set {
     color: #7b655e;
         margin-top: 7px;
}
.text-muted-sets {
     color: #c4aeaa;
}
/*file css*/
 .preview-container {
    display: flex;
    overflow-x: auto; /* Enable horizontal scrolling */
    white-space: nowrap; /* Prevent wrapping */
    gap: 10px; /* Space between items */
  }

  .preview-item {
    position: relative;
    display: inline-block; /* Ensure items are inline */
    width: 100px;
    height: 100px;
  }

  .preview-item img,
  .preview-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #ddd;
  }

  .preview-item .delete-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    text-align: center;
    font-size: 14px;
    line-height: 18px;
    cursor: pointer;
  }
  .upload-btn {
            background-color: #d9a406;
            color: black;
            font-weight: 500;
            padding: 10px;
            display: block;
            text-align: center;
            border-radius: 5px;
            cursor: pointer;
            width: 100%;
            margin-top: 10px;
            border-radius: 0;
        }

        .upload-btn:hover {
            background-color: #e0a800;
        }

        .preview-container {
            display: flex;
            flex-wrap: wrap;
            margin-top: 10px;
        }

        .preview-container img, .preview-container video {
            width: 100px;
            height: 100px;
            object-fit: cover;
            margin: 5px;
            border-radius: 5px;
            border: 2px solid #FFC107;
        }

        .hidden {
            display: none;
        }
/*end file css*/

   /* Chat Box Styling */
    .chat-box {
        background-color: #FFF6D5;
        padding: 12px;
        border-radius: 10px;
        margin: 39px 0;
        position: relative;
    }
    .chat-box .user {
            font-weight: bold;
    color: #177245;
    float: right;
    margin-right: 14%;
    }
    .chat-box .time {
           font-size: 12px;
    color: #177245;
    float: right;
       margin-top: 8%;
    margin-right: -42%;
    }
    .chat-box .message {
       margin-top: 13%;
    font-size: 14px;
    color: #333;
    }
    .chat-box .profile-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 2px solid #FFD700;
        position: absolute;
        right: 10px;
        top: 10px;
    }
/*   profile css */
.col-6 .image-preview {
    /* width: 150px; */
    height: 61px;
    /* border: 1px solid #ddd; */
    border-radius: 10px;
    display: flex
;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #f7f1fb;
    box-shadow: 2px 2px 2px 2px #dadee3;
    font-size: 15px;

}

.col-6 .upload-buttons {
    display: flex;
    gap: 15px;
        margin-top: -9px;
}

.col-6 .upload-btn {
    background-color: #f3edfb;
    color: black;
    font-weight: 500;
    padding: 10px;
    text-align: center;
    border-radius: 10px 10px 10px 10px;
    cursor: pointer;
    width: 41%;
    display: flex
;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 14px;
    box-shadow: 4px 1px 0px 0px #dadee3;
}

.col-6 .upload-btn i {
    font-size: 20px;
}

.hidden {
    display: none;
}


/* Profile Photo Upload */
    .profile-upload {
/*        text-align: center;*/
        margin-bottom: 20px;
            margin-top: 10%;
    }
    .profile-upload label {
        display: block;
        font-weight: 600;
        margin-bottom: 5px;
    }
    .profile-upload .image-preview {
       display: flex
;
    align-items: center;
    /* justify-content: center; */
    /* border: 2px dashed #ccc; */
    padding: 10px;
    border-radius: 10px;
    position: relative;
    background-color: #f7f1fb;
    width: 47%;
    font-size: 90%;
    }
    .profile-upload .image-preview img {
        max-width: 80px;
        border-radius: 50%;
        border: 2px solid #FFD700;
    }
    .profile-upload .upload-buttons {
        display: flex;
        gap: 10px;
        justify-content: center;
        margin-top: 10px;
    }
    .upload-btn {
        background-color: #f3edfb;
        color: black;
        font-weight: 500;
        padding: 10px;
        text-align: center;
        border-radius: 10px 10px 10px 10px;
        cursor: pointer;
        width: 20%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        font-size: 14px;
    }
    
    .upload-btn i {
    font-size: 20px;
}

    .upload-btn:hover {
        background-color: #e0a800;
    }

    /* Input Field Styling */
    .form-group {
        margin-bottom: 15px;
    }
    .form-control {
        border-radius: 5px;
        border: 1px solid #ddd;
        padding: 10px;
    }

    /* Submit Button */
    .submit-btn {
        background-color: #d9a406;
        color: black;
        font-weight: bold;
        padding: 10px;
        width: 100%;
        border-radius: 5px;
        border: none;
    }
    .submit-btn:hover {
        background-color: #e0a800;
    }
/* end  profile css */
/*profile form css*/
.forp{margin-bottom: 8px;}
/*end profile form css*/


/*card 2*/
        
        .card-2.mx-auto.p-3.shadow {
    max-width: 400px;
    border-radius: 15px;
    margin-top: 30px;
    background: #e9dedc;
    border-right: 5px solid #3aa9bb;
    
}
span.text-warnings-2.text-darks-2 {
    color: #3aa9bb;

    font-weight: 800;
}
   .card-3.mx-auto.p-3.shadow {
        max-width: 400px;
        border-radius: 15px;
        margin-top: 30px;
        background: #e9dedc;
        border-right: 5px solid #26a945;
            width: 90%;
    }

    span.text-warnings-3.text-darks-3 {
        color: #26a945;
        font-weight: 800;
    }

/*end card 2*/
button.swal2-confirm.swal2-styled {
    background: #d9a406!important;
    color: black!important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
  .logo3 {
    width: 57%;
    margin-bottom: 34px;
        margin-left: 20% !important;
    margin-top: -14% !important;
}

/* cpmlain feed css */
.attachments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.single-attachment {
    display: flex;
    justify-content: flex-start; /* Left align */
    max-width: 33.33%; /* 1/3 width (col-md-4) */
}

.attachment-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

.complaint-image, .complaint-video {
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .attachments-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    }
    .complaint-image, .complaint-video {
        max-height: 100px;
    }
}

/* end cpmlain feed css */

/*loder css*/
#loader {
    display: none; /* Initially hidden */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center vertically */
    align-items: center; /* Center horizontally */
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    padding: 10px;
    text-align: center;
}

#loader img {
    width: 60px;
    height: 60px;
    animation: swing 2s ease-in-out infinite alternate;
    margin-top: 8px;
}

@keyframes swing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#overlay {
    display: none; /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    cursor: not-allowed;
}


#loader p {
    margin-top: 5px; /* Reduce space */
    font-size: 14px;
    font-weight: bold;
    color: #333;
    text-align: center; /* Ensure text is centered */
}
body.loading {
    overflow: hidden; /* Prevent scrolling */
    pointer-events: none; /* Disable all clicks */
}
/*end loder css*/

/*log out model issues css */
.modal-backdrop.fade.show {
    display: none!important;
}
/*end log out model issues css */

/*chat box -admin css*/
 .chat-box .profile-icon-admin {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #FFD700;
    position: absolute;
/*    right: 10px;*/
    top: 10px;
}

  .message-admin {
    margin-top: 10%;
    font-size: 14px;
    color: #333;
} 
 .time-admin {
   font-size: 12px;
    color: #18C4DC;
    float: right;
    margin-top: 0%;
    margin-right: 44%;
} 
.user-admin {
     font-weight: bold;
    color: #18C4DC;
    /* float: right; */
    margin-left: 16%;
}
/*end chat box -admin css*/