/*
  Theme Name: Mesobtarbut
  Theme URI: https://example.com/
  Description: Child theme for Hello Elementor
  Author: Codieslab
  Author URI: https://codieslab.com/
  Template: hello-elementor
  Version: 1.0.2
  Text Domain: mesobtarbut-one
*/

/* Import parent theme styles */
@import url("../hello-elementor/style.css");

/* Add your custom CSS below */
body {
  background-color: #ffffff;
}
body{
  transition: padding-left ease 0.3s;
}
body:has( .dashboard-sidebar) {
  padding-left: 240px;
}
body:has( .dashboard-sidebar.collapsed) {
  padding-left: 80px;
}
.dashboard-sidebar .dashboard-sidebar-header .dashboard-toggle-btn{
    background-color: transparent;
    border-color: transparent;
    color: #001F4E;
}
.dashboard-sidebar.collapsed .dashboard-sidebar-header .dashboard-toggle-btn i::before{
  content: "\f105";
}

body:has(#content #customer_registration_form) .page-header{
  display: none;
}
body:has(#content #customer_registration_form){
  background: #f7f7f7;
}
#customer_login{
  min-height: calc(100vh - 62px);
  display: flex;
  place-content: center;
  align-items: center;
}
#customer_registration_form {
  margin-inline: auto;
  max-width: 450px;
  float: none;
  padding-right: 0;
  padding-left: 0;
  box-shadow: none;
  background: transparent;
}
#customer_registration_form .logo{
  text-align: center;
}
#customer_registration_form .logo .custom-logo-link{
    display: inline-block;
    max-width: 130px;
    margin-bottom: 30px;
}
#customer_registration_form br{
  display: none;
}
#customer_registration_form .woocommerce-form-register__submit{
    background: #001F4E;
    padding: 12px 30px;
    border-radius: 8px;
    border: 1px solid #001F4E;
}
#customer_registration_form .woocommerce-form-register__submit:hover{
  background: #fff;
  color: #001F4E;
}

/* Admin Bar Spacing */
/* Add margin-top to main content areas for admin bar */
.admin-bar #content,
.admin-bar .site-content,
.admin-bar .page-content,
.admin-bar .entry-content,
.admin-bar main[role="main"],
.admin-bar #main {
  margin-top: 32px !important;
}

/* Keep existing body spacing logic for sidebar layouts */
.admin-bar body:has(.dashboard-sidebar) {
  padding-left: 240px;
}

.admin-bar body:has(.dashboard-sidebar.collapsed) {
  padding-left: 80px;
}

@media screen and (max-width: 782px) {
  .admin-bar #content,
  .admin-bar .site-content,
  .admin-bar .page-content,
  .admin-bar .entry-content,
  .admin-bar main[role="main"],
  .admin-bar #main {
    margin-top: 46px !important;
  }

  .admin-bar body:has(.dashboard-sidebar) {
    padding-left: 240px;
  }

  .admin-bar body:has(.dashboard-sidebar.collapsed) {
    padding-left: 80px;
  }
}

/* Adjust fixed headers/elements for admin bar */
.admin-bar .dashboard-sidebar {
  top: 32px !important;
}

@media screen and (max-width: 782px) {
  .admin-bar .dashboard-sidebar {
    top: 46px !important;
  }
}

/* Adjust customer login page spacing when admin bar is present */
.admin-bar #customer_login {
  min-height: calc(100vh - 32px - 62px);
}

@media screen and (max-width: 782px) {
  .admin-bar #customer_login {
    min-height: calc(100vh - 46px - 62px);
  }
}
