/* Docila Modern - Dashboard & UX Styles */

:root {
    --dashboard-bg: #f8fafc;
    --sidebar-bg: #ffffff;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --accent-red: #e4074e;
    --accent-navy: #19334d;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Dashboard Layout */
.dashboard-layout {
    display: flex;
    min-height: 80vh;
    background: var(--white);
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

/* Sidebar Navigation */
.dashboard-sidebar {
    width: 310px;
    background: var(--white);
    padding: 25px 0 25px 20px;
    flex-shrink: 0;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 15px;
    padding: 0px 15px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
	background: #fef2f2;
    gap: 12px;
    padding: 12px 24px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
	border-radius:30px;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.sidebar-nav a i {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.sidebar-nav li.active a,
.sidebar-nav a:hover {
    color: var(--accent-red);
    background: #fef2f2;
    border-left-color: var(--accent-red);
}

/* Content Area */
.dashboard-content {
    flex: 1;
    padding: 25px 25px 25px 0;
    background: #fff;
}

/* Doctor Cards (Modern) */
.doctor-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.modern-doctor-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.modern-doctor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.doc-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.doc-card-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f1f5f9;
}

.doc-card-info h4 {
    margin: 0;
    font-size: 17px;
    color: var(--text-main);
}

.doc-card-info .specialty {
    font-size: 13px;
    color: var(--text-muted);
}

.doc-card-status {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 20px;
    margin-top: 4px;
    display: inline-block;
}

.status-approved {
    background: #dcfce7;
    color: #166534;
}

.status-pending {
    background: #fef9c3;
    color: #854d0e;
}

.doc-card-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.btn-icon-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-view-public {
    background: #f8fafc;
    color: #475569;
}

.btn-edit-smart {
    background: #eff6ff;
    color: #1d4ed8;
}
.dash-tab { 
	display: none; 
}
.dash-tab.active { 
	display: block; 
	animation: dashFadeIn 0.3s ease; 
}
@keyframes dashFadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

.dashboard-layout { 
	display: flex; 
	gap: 25px; 
	align-items: flex-start; 
}
.dashboard-sidebar { 
	width: 280px; 
	position: sticky; 
	top: 0px; 
}
.dashboard-content { 
	flex: 1; 
}
.dashboard-content .edit-mode{
	padding:25px;
}
.sidebar-nav { 
	list-style: none; 
	padding: 0; 
	margin: 0; 
	background: #fff; 
	border-radius: 16px; 
	overflow: hidden; 
}
.sidebar-nav li.active a { 
	background: var(--theme-color-hover); 
	color: #fff; 
}
.sidebar-nav li a { 
	display: flex; 
	align-items: center; 
	gap: 15px; 
	padding: 12px 25px; 
	text-decoration: none; 
	color: #64748b; 
	font-weight: 600; 
	transition: all 0.3s; 
}
.modern-details-grid { 
	display: grid; 
	grid-template-columns: repeat(2, 1fr); 
	gap: 20px; 
	margin-top: 10px; 
}
.detail-item { 
	display: flex; 
	align-items: flex-start; 
	gap: 15px; 
	padding: 15px; 
	background: #f8fafc; 
	border-radius: 12px; 
	border: 1px solid #eef2f6; 
}
.detail-icon { 
	width: 40px; 
	height: 40px; 
	background: #fff; 
	border-radius: 10px; 
	display: flex; 
	align-items: center; 
	justify-content: center;
	color: #19334d; 
	font-size: 20px; 
}
.detail-content p { 
	margin: 0; 
	color: #1e293b; 
	font-weight: 500; 
	font-size: 16px; 
}
.edit-actions { 
	margin-top: 25px; 
	display: flex; 
	gap: 15px; 
}
.btn-save { 
	background: #19334d; 
	color: #fff; 
	border: none; 
	padding: 12px 30px; 
	border-radius: 8px; 
	font-weight: 700; 
	cursor: pointer; 
	transition: 0.3s; 
}
.btn-cancel { 
	background: #f1f5f9; 
	color: #64748b; 
	border: none; 
	padding: 12px 30px; 
	border-radius: 8px; 
	font-weight: 700; 
	cursor: pointer; 
	transition: 0.3s; 
}
/* Dashboard Tabs Content */
.dash-tab {
  display: none;
}
.dash-tab.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Modern Details Grid */
.modern-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 10px;
}
.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #eef2f6;
  transition: all 0.2s;
}
.detail-item:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.detail-icon {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #19334d;
  font-size: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.detail-content p {
  margin: 0;
  color: #1e293b;
  font-weight: 500;
  font-size: 16px;
}
.detail-content a {
  color: #19334d;
  text-decoration: none;
}

/* About Section Modern */
.about-section-modern {
  margin-top: 25px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  border: 1.5px solid #f1f5f9;
  display: flex;
  gap: 20px;
}
.about-section-modern .detail-icon {
  background: #f0f7ff;
  color: #1e40af;
}

/* Edit Profile Buttons */
.modern-edit-btn,
.editProfile a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--theme-color);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s;
  margin-top: 20px;
}
.modern-edit-btn:hover,
.editProfile a:hover {
  background: var(--theme-color-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(25, 51, 77, 0.2);
  color: #fff;
}

/* Form Elements Styling */
.edit-field-row {
  margin-bottom: 20px;
}
.edit-field-row label {
  display: block;
  font-weight: 600;
  color: #19334d;
  margin-bottom: 8px;
  font-size: 14px;
}
.edit-field-row .form-control {
  border-radius: 8px;
  border: 1.5px solid #e2e8f0;
  padding: 12px 15px;
  font-size: 14px;
}
.edit-field-row .form-control:focus {
  border-color: #19334d;
  box-shadow: 0 0 0 3px rgba(25, 51, 77, 0.1);
}

/* Availability Builder Styling */
.schedule-pill {
  display: inline-flex;
  align-items: center;
  margin: 3px 6px 3px 0;
  padding: 5px 12px;
  border-radius: 20px;
  background: #f0f9ff;
  font-size: 12px;
  border: 1px solid #bae6fd;
}
.clinic-view-slots {
  margin-top: 5px;
}

/* Doctor Cards Grid */
.doctor-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 15px;
}
.modern-doctor-card {
  background: #fff;
  border: 1px solid #eef2f6;
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}
.modern-doctor-card:hover {
  transform: translateY(-5px);
  border-color: var(--theme-color-hover);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.doc-card-header {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 20px;
}
.doc-card-avatar-wrap {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  overflow: hidden;
  background: #f1f5f9;
}
.doc-card-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.doc-card-info h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #19334d;
}
.doc-card-info .specialty {
  margin: 3px 0;
  font-size: 13px;
  color: #64748b;
}

.doc-card-status {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.status-publish {
  background: #dcfce7;
  color: #15803d;
}
.status-pending {
  background: #fef9c3;
  color: #854d0e;
}

.doc-card-actions {
  margin-top: auto;
  border-top: 1.5px solid #f8fafc;
  padding-top: 15px;
}
.btn-edit-smart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  background: #FEF2F2;
  color:var(--theme-color);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s;
}
.btn-edit-smart:hover {
  background: var(--theme-color-hover);
  color: #fff;
}

/* Checkbox Group */
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  padding: 15px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #eef2f6;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #475569;
  cursor: pointer;
  margin: 0 !important;
}
.checkbox-label input {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* Service Badges Fix for Alignment Gaps */
.serviceList {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  text-align: left !important;
  justify-content: flex-start !important;
  padding: 0 !important;
}
.serviceList .srvItems {
  display: block !important;
  margin: 0 !important;
  width: auto !important;
  float: none !important;
}
.serviceList .L-One {
  background: #f1f5f9;
  color: #475569;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
  transition: all 0.2s;
}
.serviceList .L-One:hover {
  background: #e2e8f0;
  transform: translateY(-1px);
}
.dashboard-layout { 
	display: flex; 
	gap: 30px; 
	align-items: flex-start; 
}
.dashboard-content { 
	flex: 1; 
}



/* Modern User Dropdown */
.user-dropdown {
    position: relative;
    cursor: pointer;
}
.user-profile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #f8fafc;
    padding: 5px 14px 5px 5px;
    border-radius: 30px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    height: 48px; /* Force a consistent height */
    box-sizing: border-box;
}
.user-profile-toggle:hover {
    background: #fff0f3;
    border-color: #ff2a5f;
}
.user-avatar-circle {
    width: 36px;
    height: 36px;
    background: #ff2a5f;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
}
.user-toggle-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    height: 100%;
}
.user-role-badge {
    font-size: 10px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 0 2px 0;
    padding: 0;
    line-height: 1;
    letter-spacing: 0.5px;
}
.user-firstname {
    font-size: 14px;
    font-weight: 700;
    color: #013a63;
    margin: 0;
    padding: 0;
    line-height: 1;
}
.dropdown-arrow {
    color: #013a63;
    font-size: 18px;
    transition: transform 0.3s;
    margin-left: 2px;
    display: flex;
    align-items: center;
    line-height: 1;
}
.user-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}
.user-dropdown-menu {
    position: absolute;
    top: 110%;
    right: 0;
    width: 240px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border: 1px solid #f1f5f9;
    padding: 10px 0;
}
.user-dropdown:hover .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-header {
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
}
.dropdown-header strong {
    font-size: 15px;
    color: #1e293b;
    margin-bottom: 2px;
}
.dropdown-header span {
    font-size: 12px;
    color: #64748b;
}
.dropdown-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 5px 0;
}
.dropdown-item {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 12px 20px !important;
    color: #475569 !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none !important;
    background: transparent !important;
}
.dropdown-item i {
    font-size: 18px;
    color: #94a3b8;
    transition: color 0.2s;
}
.dropdown-item:hover {
    background: #f8fafc !important;
    color: #ff2a5f !important;
}
.dropdown-item:hover i {
    color: #ff2a5f;
}
.logout-item:hover {
    background: #fef2f2 !important;
    color: #ef4444 !important;
}
.logout-item:hover i {
    color: #ef4444;
}
.mb-user-info .user-avatar-circle {
    width: 45px;
    height: 45px;
    background: #ff2a5f;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
}
.mb-user-details {
    display: flex;
    flex-direction: column;
}

/* Responsive */
@media (max-width: 991px) {
.dashboard-layout {
	flex-direction: column;
}

.dashboard-sidebar {
	width: 100%;
	border-right: none;
	border-bottom: 1px solid var(--border-color);
	padding: 12px 0;
}

.sidebar-nav {
	display: flex;
	overflow-x: auto;
	padding: 0 10px;
}

.sidebar-nav li {
	margin-bottom: 0;
}

.sidebar-nav a {
	padding: 10px 16px;
	white-space: nowrap;
	border-left: none;
	border-bottom: 3px solid transparent;
}

.sidebar-nav li.active a {
	border-bottom-color: var(--accent-red);
}
}
@media (max-width: 767px) {
.modern-details-grid { grid-template-columns: 1fr; }
.about-section-modern { flex-direction: column; }
.dashboard-layout { flex-direction: column; }
.dashboard-sidebar { width: 100%; margin-bottom: 20px; position: static; }
.sidebar-nav { display: flex; overflow-x: auto; padding-bottom: 5px; }
.sidebar-nav li { flex: 0 0 auto; margin-bottom: 0; margin-right: 10px; }
.dashboard-content{
	padding:15px;
	width: 100%;
}
.edit-actions{
	margin-top:10px;
}
.sidebar-nav li{
	padding:4px;
}
.sidebar-nav li a{
	padding: 5px 10px;
	font-size:14px;
	gap: 4px;
}

.sidebar-nav li.active a{
	border:0;
	background:var(--theme-color) !important;
	color:var(--white);
}
.sidebar-nav a i{
	font-size:16px;
}
.dashboard-layout{
	margin-top:0;
	gap: 10px;
}
.modern-details-grid{
	display:block;
}
.detail-item{
	margin-bottom:15px;
}
.dashboard-content .edit-mode {
    padding: 15px;
}
.doc-card-actions{
	border-top:0;
	padding-top:0
}
.doc-card-header{
	margin-bottom:10px;
}
.user-profile-toggle{
	padding: 5px 10px 5px 5px;
	gap:4px;
}
.user-profile-toggle .user-firstname{
	max-width: 65px;
}
	
}
@media (max-width: 480px) {

	
	
	
	
}