/*
 Theme Name: Astra Child
 Theme URI: https://example.com/
 Description: A child theme of the Astra theme.
 Author: Your Name
 Author URI: https://example.com/
 Template: astra
 Version: 1.0.0
*/

/* Loader */
#form-overlay-loader {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}
#form-overlay-loader .spinner {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  position: absolute;
  left: 50%;
  top: 50%;
}

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


/*Header*/
body:not(.home) .menu-item a {
    color: #000 !important;
}
body:not(.home) header#masthead {
    background: #fff;
}
.elementor-element.elementor-element-a28e5df.e-con-full.e-flex.e-con.e-parent.e-lazyloaded {
    box-shadow: 0 0 7px rgba(0, 0, 0, .1) !important;
}
.header_user_icon .elementor-icon-wrapper {
    line-height: 0 !important;
}
/*Home page*/
.entry-content.clear {
    margin-top: -150px;
}
/* About Us */
.track_record .elementor-image-box-img {
    padding: 12px;
    border-radius: 50%;
}
.satisfied_clients .elementor-image-box-img{
    background: #DBEAFE;
}
.years_experience .elementor-image-box-img{
    background: #DBFCE7;
}
.security_personnel .elementor-image-box-img{
    background: #F3E8FF;
}
.customer_rating .elementor-image-box-img{
    background: #FFEDD4;
}

/*Contact us form*/
.medium-textarea {
    width: 100%; /* Adjust as needed */
    max-width: 500px;
    height: 150px; /* Medium height */
    resize: vertical; /* Allows resizing vertically only */
}
.wpcf7-form br {
    display: none;
}
.wpcf7-form input {
    margin-bottom: 20px !important;
}
.wpcf7 input:not([type=submit]), .wpcf7 select, .wpcf7 textarea {
    width: 100%;
    padding: 7px;
    border-radius: 5px;
    border: 1px solid;
}
/*Book Service*/
.disable#continue_service {
    background: #bfbfbf;
    cursor: no-drop;
}
.add-hover-effect {
  border: 1px solid #155DFC !important;
}

/* Register page */
.user-registration.ur-frontend-form {
    padding: 60px 10px;
}

/*Book Form*/
.service_form input,.service_form select {
    border: 1px solid #000;
    border-radius: 7px;
    background: transparent;
}

body.user-registration-page .user-registration.ur-frontend-form--rounded:not(.login) form .ur-form-row .ur-form-grid input:not([type=checkbox]), body.user-registration-page .user-registration.ur-frontend-form--rounded:not(.login) form .ur-form-row .ur-form-grid input:not([type=file]), body.user-registration-page .user-registration.ur-frontend-form--rounded:not(.login) form .ur-form-row .ur-form-grid input:not([type=radio]),  body.user-registration-page .user-registration.ur-frontend-form--rounded:not(.login) form .ur-form-row .ur-form-grid select, textarea#textarea_1737868974 {
    border-radius: 5px !important;
}

/* User Dashboard */
.dashboard_main_contaner {
    display: flex;
}
/* Left Sidebar Styles */
.dashboard_main_contaner .sidebar {
    width: 250px;
    background: #fff;
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
}
.dashboard_main_contaner .profile-section {
    text-align: center;
    margin-bottom: 30px;
}
.profile-section p {
    color: #000;
}
.dashboard_main_contaner .profile-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 10px;
    object-fit: cover;
}

.dashboard_main_contaner .sidebar-menu {
    list-style: none;
    flex-grow: 1;
    margin-left: 0;
}

.dashboard_main_contaner .menu-item {
    color: #000;
    padding: 15px;
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 5px;
    margin-bottom: 5px;
}

.dashboard_main_contaner .menu-item:hover {
    background: #34495e;
    color: #fff;
}

.dashboard_main_contaner .menu-item.active {
    background: #3498db;
    color: #fff;
}

.dashboard_main_contaner .logout-btn {
    padding: 15px;
    text-align: center;
    background: #e74c3c;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.dashboard_main_contaner .logout-btn:hover {
    background: #c0392b;
}
.dashboard_main_contaner .sidebar {
    box-shadow: 0px 9px 15px 0px rgba(0,0,0,0.1),0px 10px 15px -3px rgba(0,0,0,0.1),0px 10px 15px -3px rgba(0,0,0,0.1);
}
/* Main Content Area */
.main-content {
    flex-grow: 1;
    padding: 30px;
    background: #f5f6fa;
}

.content-panel {
    display: none;
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.content-panel.active {
    display: block;
}
.table-responsive {
    overflow-x: scroll;
}
.service-dashboard .section-title{
    font-size: 25px;
}

/* Payment page */
.custom-payment-wrapper {
    width: 60%;
    margin: auto;
    height: auto;
    vertical-align: middle;
    background: #0067ff26;
    border-radius: 20px;
    margin-bottom: 60px;
    margin-top: 60px;
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 60px;
}
.error.custom-payment-wrapper {
    justify-content: center;
}

/* Service page */
.services_section .elementor-widget-container p {
    margin: 0;
}
.service_page_banner .elementor-element {
    margin: auto;
}
/*footer*/
footer ul {
    margin-left: 0;
    padding-left: 0;
}
footer ul li {
    list-style: none;
}

@media(max-width: 767px){
    .dashboard_main_contaner {
        display: block;
    }
    .dashboard_main_contaner .sidebar {
        width: 100%;
    }
    .custom-payment-wrapper {
        padding: 30px;
    }
    #ur-frontend-form {
        padding: 20px;
    }
    .ur-lost-password-title {
        font-size: 20px !important;
        line-height: 1.3em !important;
    }
}
@media(max-width: 1024px){
    .hfe-nav-menu {
        width: 87% !important;
        margin: auto !important;
    }
}
@media(max-width: 980px){
    .custom-payment-wrapper {
        width: 80%;
    }
}
@media(min-width: 981px){
    .main_header {
        transition: all 0.3s ease-in-out;
    }
    .et-fixed-header {
        position: fixed;
        top: 0;
        transition: width 0.3s ease-in-out;
    }
    .et-fixed-header img.hfe-site-logo-img.elementor-animation- {
        width: 40% !important;
        transition: width 0.3s ease-in-out;
    }
    .main_header img.hfe-site-logo-img.elementor-animation- {
        /* width: 100%; */
        transition: width 0.3s ease-in-out;
    }
}