/*
* DASHBOARD STYLE CSS
*/

.ui-tabs-vertical { width: 55em; }
.ui-tabs-vertical .ui-tabs-nav { padding: .2em .1em .2em .2em; float: left; width: 12em; }
.ui-tabs-vertical .ui-tabs-nav li { clear: left; width: 100%; margin: 0 -1px .2em 0; }
.ui-tabs-vertical .ui-tabs-nav li a { display:block; }
.ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active { padding-bottom: 0; padding-right: .1em; border-right-width: 1px; }
.ui-tabs-vertical .ui-tabs-panel { padding: 1em; float: right; width: 40em;}

.user-dashboard #tabs {
  border: medium none;
}
.user-dashboard ul {
  background: #058bc9 none repeat scroll 0 0;
  padding: 7px !important;
  border: medium none !important;
  height:300px;
  list-style:none;
    margin: 0 !important;
}
.user-dashboard ul li {
  background: #fff none repeat scroll 0 0 !important;
  border: 1px solid #fff !important;
  border-radius: 3px;
  float: left;
  margin: 2px 0;
  padding: 7px;
  text-align: center;
  width: 100%;
}
.ui-tabs-active{
 padding: 7px !important;	
} 
.upload-contact-section {
  border: 2px solid #ccc;
  float: left;
  height: 100% !important;
  padding: 20px;
  width: 964px;
}
.upload-contact-section h3 {
  background: #ccc none repeat scroll 0 0;
  margin-bottom: 27px;
  padding: 6px;
}
.submit-btn {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  border: 2px solid #058BC9;
  border-radius: 6px;
  font-size: 17px;
  padding: 5px;
  
}
.file-box {
  border: 2px solid #ccc;
  border-radius: 3px;
  font-size: 16px;
  width: 269px !important;
}
/*Table css*/
#list_contact_tbl td {
  font-size: 14px;
  line-height: 0.9;
}
.left-section {
  float: left;
}
.right-section {
  float: left;
  width: 36%;
}
.left-section {
  float: left;
  width: 64%;
}
.contactlist {
  width: 92%;
}
.dataTables_wrapper {
  clear: both;
  float: left !important;
  position: relative;
}
.dataTables_wrapper input[type="text"],.dataTables_wrapper input[type="password"],.dataTables_wrapper input[type="date"],.dataTables_wrapper input[type="datetime"],.dataTables_wrapper input[type="datetime-local"],.dataTables_wrapper input[type="month"],.dataTables_wrapper input[type="week"],.dataTables_wrapper input[type="email"],.dataTables_wrapper input[type="number"],.dataTables_wrapper input[type="search"],.dataTables_wrapper input[type="tel"],.dataTables_wrapper input[type="time"],.dataTables_wrapper input[type="url"], textarea {
  background-color: rgba(255, 255, 255, 0);
  border: 1px solid #e1e1e1;
  border-radius: 2px;
  box-shadow: none;
  box-sizing: border-box;
  color: #7b7b7b;
  display: inline;
  font-family: "Source Sans Pro","Segoe UI",Frutiger,"Frutiger Linotype","Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;
  font-size: 18px;
  margin: 0 0 0 5px;
  padding: 4px;
  width: auto;
}
#list_contact_tbl_info {
  font-size: 18px;
}
#list_contact_tbl_paginate {
  font-size: 18px !important;
  height: 16px !important;
}
.paginate_button.current {
  padding: 0 !important;
}
.dataTables_wrapper {
  clear: both;
  float: left;
  position: relative;
  width: 89%;
}
#list_contact_tbl_length select{
float: right;
width: 41%;
}
#list_contact_tbl_length {
  width: 138px;
  margin-bottom:5px;
}
.user-dashboard .left-sidebar {
  float: left;
  width: 17%;
}
.user-dashboard .right-sidebar {
  float: left;
  margin-bottom: 16px;
  margin-left: 16px;
  margin-top: 16px;
  width: 78%;
}
footer{
	float:left;
	width:100%;
}
.groups .contact-list-grp ul {
	background:none !important;
  border: medium none !important;
  float: left;
  height: auto;
  list-style: outside none none;
  margin: 0 !important;
  padding: 7px !important;
}
.groups .left-section {
  float: left;
  width: 100%;
}

.groups .contact-list-grp {
  border: 1px solid #c6c6c6;
  float: left;
  height: 400px;
  overflow-y: scroll;
  padding: 21px;
  width: 50%;
  border-radius: 3px;
}
.groups .create-group-box {
  border: 1px solid #c6c6c6;
  border-radius: 3px;
  float: left;
  margin: 1px 11px;
  padding: 11px;
  width: 47%;
}
.user-dashboard .contact-list-grp ul li {
  border: 0 solid #000 !important;
  box-shadow: 2px 4px 29px #ccc;
}
.user-dashboard .add-group-contact-list ul li {
  border: 0 solid #000 !important;
  box-shadow: 2px 4px 29px #ccc;
}
.groups .add-group-contact-list {
  border: 1px solid #c6c6c6;
  float: left;
  height: 400px;
  overflow-y: scroll;
  padding: 21px;
  width: 100%;
  border-radius: 3px;
}
.groups .add-group-contact-list ul {
		background:none !important;
  border: medium none !important;
  float: left;
  height: auto;
  list-style: outside none none;
  margin: 0 !important;
  padding: 7px !important;
	
}
.groups .add-group-contact-list ul, .groups .contact-list-grp ul {
  float: left;
  height: auto;
  width: 100%;
}
 .notice {
  float: left;
  padding: 9px 1px;
}
.btn_sbtn_cls {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  border: 1px solid #00AEFF;
  border-radius: 7px;
  float: left;
  font-size: 15px;
  margin-top: 15px;
  padding: 4px 13px;
}
.heading-bx {
  background: #ccc none repeat scroll 0 0;
  color: #2d2d2d;
  float: left;
  font-size: 16px;
  padding: 9px;
  width: 100%;
}
.add_group-bx {
  border: 2px solid;
  border-radius: 3px;
  float: left;
  margin-bottom: 8px !important;
  padding: 6px;
}
.main-groups .left-section {
  float: left;
  width: 100%;
}
.main-groups ul li a {
	display:block;
}
._adct {
    color: #fff !important;
    float: right;
    margin-top: 3px;
    padding: 5px;
    text-shadow: 0 0 0 #fff !important;
}
 /* Popup container */
.popup {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

/* The actual popup (appears on top) */
.popup .popuptext {
    visibility: hidden;
    width: 160px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -80px;
}

/* Popup arrow */
.popup .popuptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

/* Toggle this class when clicking on the popup container (hide and show the popup) */
.popup .show {
    visibility: visible;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity:1 ;}
} 
#sidebar_left{
        height: 100%;
    z-index: 999;
    position: fixed;
    overflow-y: auto;
}

/* Enhanced Fix: Deep Green Button with High Specificity (Overrides Bootstrap/Theme Conflicts) */
:root {
  --button-bg-primary: #065f46; /* Deep green background for high contrast */
  --button-text: #ffffff;       /* White text */
  --button-border: #047857;     /* Darker deep green border */
  --shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  --transition: all 0.2s ease;  /* Smooth interactions */
}

/* High-specificity target: Parent > Button (beats .btn overrides) */
.panel-heading ._adct.btn-system,
._adct.btn-system {
  /* Core Reset: Override Bootstrap transparent vars and theme teal */
  --bs-btn-bg: var(--button-bg-primary) !important;
  --bs-btn-color: var(--button-text) !important;
  --bs-btn-border-color: var(--button-border) !important;

  background-color: var(--button-bg-primary) !important; /* Deep green bg */
  color: var(--button-text) !important;                  /* White text */
  border: 1px solid var(--button-border) !important;     /* Visible border */
  padding: 10px 20px !important;                         /* Sizing */
  border-radius: 4px !important;                         /* Rounded */
  font-size: 14px !important;                            /* Readable */
  cursor: pointer !important;
  box-shadow: var(--shadow) !important;                  /* Depth */
  transition: var(--transition) !important;
  display: inline-block !important;
  text-decoration: none !important;
  float: right !important;
  margin-top: 3px !important;

  /* Critical: Remove white text-shadow blur */
  text-shadow: none !important;

  /* Override any remaining Bootstrap/WordPress resets */
  background-image: none !important;
  border-color: var(--button-border) !important;
  line-height: 1.5 !important;
}

/* Hover: Darker green with lift */
.panel-heading ._adct.btn-system:hover,
._adct.btn-system:hover {
  background-color: #047857 !important; /* Darker deep green */
  --bs-btn-bg: #047857 !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
  transform: translateY(-1px) !important;
  text-shadow: none !important;
}

/* Focus: Accessibility outline */
.panel-heading ._adct.btn-system:focus,
._adct.btn-system:focus {
  outline: 2px solid var(--button-border) !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 0.25rem rgba(6, 95, 70, 0.25) !important; /* Subtle green ring */
}

/* Ensure panel contrasts (white/light for green button) */
.panel-heading {
  background-color: #ffffff !important; /* Pure white panel */
  padding: 10px 15px !important;
  color: #666666 !important; /* Dark text for panel title */
}

/* Dark Mode Support (Optional: If theme has dark mode) */
@media (prefers-color-scheme: dark) {
  .panel-heading {
    background-color: #1e293b !important; /* Dark panel */
  }
  :root {
    --button-bg-primary: #10b981; /* Lighter green for dark bg */
    --button-border: #059669;
  }
  .panel-heading ._adct.btn-system:hover {
    background-color: #059669 !important;
  }
}

/* Alternative: Deep Blue (Comment out green above and uncomment this if preferred) */
/*
:root {
  --button-bg-primary: #1e40af; /* Deep blue */
  --button-border: #1e3a8a;
}
.panel-heading ._adct.btn-system:hover {
  background-color: #1e3a8a !important;
}
*/