/* Google Login Button CSS */

.login-with-google-btn {
    margin-top: 10px;
    margin-bottom: 10px;
    transition: background-color .3s, box-shadow .3s;
    padding: 12px 16px 12px 42px;
    border: none;
    border-radius: 3px;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 1px 1px rgba(0, 0, 0, .25);
    color: #757575;
    font-size: 14px;
    font-weight: 500;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTcuNiA5LjJsLS4xLTEuOEg5djMuNGg0LjhDMTMuNiAxMiAxMyAxMyAxMiAxMy42djIuMmgzYTguOCA4LjggMCAwIDAgMi42LTYuNnoiIGZpbGw9IiM0Mjg1RjQiIGZpbGwtcnVsZT0ibm9uemVybyIvPjxwYXRoIGQ9Ik05IDE4YzIuNCAwIDQuNS0uOCA2LTIuMmwtMy0yLjJhNS40IDUuNCAwIDAgMS04LTIuOUgxVjEzYTkgOSAwIDAgMCA4IDV6IiBmaWxsPSIjMzRBODUzIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNNCAxMC43YTUuNCA1LjQgMCAwIDEgMC0zLjRWNUgxYTkgOSAwIDAgMCAwIDhsMy0yLjN6IiBmaWxsPSIjRkJCQzA1IiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNOSAzLjZjMS4zIDAgMi41LjQgMy40IDEuM0wxNSAyLjNBOSA5IDAgMCAwIDEgNWwzIDIuNGE1LjQgNS40IDAgMCAxIDUtMy43eiIgZmlsbD0iI0VBNDMzNSIgZmlsbC1ydWxlPSJub256ZXJvIi8+PHBhdGggZD0iTTAgMGgxOHYxOEgweiIvPjwvZz48L3N2Zz4=);
    background-color: white;
    background-repeat: no-repeat;
    background-position: 20px;

    &:hover {
      box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 2px 4px rgba(0, 0, 0, .25);
      color:#757575;
    }

    &:active {
      background-color: #eeeeee;
    }

    &:focus {
      outline: none;
      box-shadow:
        0 -1px 0 rgba(0, 0, 0, .04),
        0 2px 4px rgba(0, 0, 0, .25),
        0 0 0 3px #c8dafc;
    }

    &:disabled {
      filter: grayscale(100%);
      background-color: #ebebeb;
      box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 1px 1px rgba(0, 0, 0, .25);
      cursor: not-allowed;
    }
  }





/*Filters CSS*/

.filter-search-wrapper {
    display: flex;
    align-items: center;
    gap: 15px; /* Add space between the filter, currency, and search */
    flex-wrap: wrap; /* Wrap the content if it doesn't fit in one line */
}

.filter-custom-dropdown, .currency-custom-dropdown {
    position: relative;
    display: inline-block;
}

.filter-dropdown-btn, .currency-dropdown-btn {
    background-color: #3498db;
    color: white;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.filter-dropdown-btn:hover, .currency-dropdown-btn:hover {
    background-color: #2980b9;
}

.filter-dropdown-content, .currency-dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 300px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 99999;
    max-height: 400px;
    overflow-y: auto;
}

.filter-dropdown-content a, .currency-dropdown-content a {
    color: black;
    font-size: 16px;
    padding: 10px 10px;
    text-decoration: none;
    display: block;
}

.filter-dropdown-content a:hover, .currency-dropdown-content a:hover {
    background-color: #f1f1f1;
}

.filter-custom-dropdown:hover .filter-dropdown-content,
.currency-custom-dropdown:hover .currency-dropdown-content {
    display: block;
}

.search-container {
    display: flex;
    align-items: center;
    flex-grow: 1; /* Allow the search input to grow if needed */
}

.search-custom-input {
    position: relative;
    width: 100%;
}

.search-custom-input input {
    width: 100%;
    padding-right: 40px;
}

.search-custom-input button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    border: none;
    color: #2980b9;
    padding: 0 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}

.search-custom-input button i {
    font-size: 16px;
}

.service-cat-icon{
    max-width: 32px;
    max-height: 32px;
}



.userAdminContentArea{
    margin-top: 40px;
    padding-bottom: 30px;
}



/* User Panel CSS */
.userAdminCard{
    margin-top: 10px;
    margin-bottom: 10px;
}

.input-error{
    color: #ff0e0e;
    margin-top: 2px;
    padding: 3px;
}

.successAlert, .errorAlert, .infoAlert{
    margin: 10px;
    padding: 10px;
    border-radius: 5px;
}

.successAlert h4{
    color: #270;
}
.successAlert{
    color: #270;
    background-color: #DFF2BF;
}

.errorAlert h4{
    color: #D8000C;
}
.errorAlert{
    color: #D8000C;
    background-color: #FFBABA;
}

.infoAlert h4 {
    color: #00529B;
}
.infoAlert {
    color: #00529B;
    background-color: #BDE5F8;
}


/* User Panel Menu */
.sidebar{
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    margin-top: 60px;
}
.userAdminNavbar{
    width: 100%;
    position: fixed;
    z-index: 9999 !important;
    box-shadow: 0px 0px 2px #ccc;
    display: flex;
    flex-wrap: nowrap;
}
.main-content-area{
    margin-left: 250px;
    margin-top: 60px;
    min-height: 100vh !important;
}


/*User Panel Logo*/
.logo-img{
    max-height: 100px;
    max-width: 200px;
}



/*Support Media Btn*/

.media-btn{
    padding: 2px 5px;
    background-color: #17a2b8;
    border-radius: 5px;
    box-shadow: 0px 0px 5px #17a2b8;
    color: #0e0e0e;
}
.media-btn .fa{
    color: #fff;
}
.media-btn:hover{
    box-shadow: 0px 0px 5px #17a2b8;
    color: #0e0e0e;
    text-decoration: none !important;
}






/* User Admin Input Fields and BUTTONS CSS */
.user-admin-form-control:focus{
    color: #0e0e0e !important;
}
.user-admin-form-control::placeholder{
    color: #6e6e6e !important;
}

.servicesViewBtn:hover{
    color: #f9f9f9;
    text-decoration: none !important;
}

.userAdminBtnSimple{
    border: 1px solid #ccc;
    padding: 10px 10px;
    margin: 0px 5px 5px 0px;
    border-radius: 5px;
    font-size: 16px;
    box-shadow: 0px 0px 3px #ccc;
    display: inline-block;
}

.userAdminBtnSimple:hover{
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: 0px 0px 10px #999;
}
.userAdminBtnSimple:disabled{
    text-decoration: none !important;
    box-shadow: 0px 0px 0px #999;
    cursor: auto;
}


/* General CSS */
.userAdminShadowDiv{
    box-shadow: 0px 0px 3px #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
}

/*USer Panels Whatsapp button*/
.whatsapp-button {
    position: fixed !important;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 50px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
    z-index: 9999;
}

.whatsapp-button:hover {
    background-color: #1ebe57;
}

.whatsapp-button img {
    width: 40px;
    height: 40px;
}

@media (max-width: 767px){
    .userHeaderBalanceCurrenyChanger{
        display: none;
    }
    .navbar-brand{
        padding: 0px !important;

    }
}

/* ---------------- Support tickets (user/pages/support + ticket) ----------------
   Har theme ka apna rang user.css se; yahan sirf neutral cheezein jo sab themes par theek lagen */
.tk-state { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.tk-state-wait { background: rgba(245, 158, 11, .15); color: #b45309; }
.tk-state-reply { background: rgba(34, 197, 94, .15); color: #15803d; }
.tk-state-closed { background: rgba(120, 130, 150, .15); color: inherit; opacity: .8; }
.tk-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tk-head h4 { margin: 2px 0 0; }
.tk-id { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; opacity: .6; }
.tk-back { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.tk-author { display: block; font-size: 12px; font-weight: 700; opacity: .7; margin-bottom: 4px; }
.userAdminChat .messageText { white-space: pre-line; word-break: break-word; }
.tk-image { display: inline-block; margin-top: 8px; }
.tk-image img { max-width: 240px; max-height: 180px; border-radius: 10px; object-fit: cover; }
.tk-file { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 6px 12px; border-radius: 8px; background: rgba(120, 130, 150, .12); font-size: 13px; font-weight: 600; }
.tk-hint { font-size: 12.5px; opacity: .65; margin-top: -6px; margin-bottom: 8px; }
.tk-note { padding: 12px 16px; border-radius: 12px; background: rgba(120, 130, 150, .12); font-size: 14px; }
.tk-note-warn { background: rgba(245, 158, 11, .14); color: #92400e; margin-bottom: 14px; }
.tk-empty { text-align: center; opacity: .7; padding: 28px 12px !important; }

/* Service category icons (CategoryIconService): brand tile or uploaded image */
.cat-ico { --cat-ico: #64748b; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 7px; background: var(--cat-ico); color: #fff; vertical-align: middle; line-height: 1; }
.cat-ico i { color: #fff !important; margin: 0 !important; padding: 0 !important; }
.cat-ico-img { background: transparent; overflow: hidden; }
.cat-ico-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cat-ico-sm { width: 22px; height: 22px; font-size: 12px; border-radius: 6px; }
.cat-ico-md { width: 32px; height: 32px; font-size: 16px; }
.cat-ico-lg { width: 44px; height: 44px; font-size: 22px; border-radius: 10px; }
.cat-ico-xl { width: 64px; height: 64px; font-size: 30px; border-radius: 14px; }
.cat-ico b { font-weight: 800; color: #fff; font-size: .62em; line-height: 1; }
