* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

a,
a:hover,
a:focus,
a:visited,
a:active {
  text-decoration: none;
}

p,
ul,
li {
  padding: 0;
  margin: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #f5f6fa;
  overflow-x: hidden;
}

.container {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 90px;
  background: #553400;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  position: fixed;
  height: 100vh;
  z-index: 1000;
  transition: all 0.3s;
}

.logo {
  width: 75px;
  height: 75px;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  padding: 5px;

}

.nav-item {
  width: 70px;
  height: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 5px 0;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 10px;
  color: #8892b0;
}

.nav-item:hover,
.nav-item.active {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.nav-icon {
  font-size: 24px;
  margin-bottom: 5px;
}

.nav-text {
  font-size: 11px;
  text-align: center;
}

/* Main Content */
.main-content {
  margin-left: 90px;
  flex: 1;
  min-height: 100vh;
}

/* Header */
.header {
  background: white;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.page-title {
  font-size: 24px;
  color: #2d3748;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.user-name {
  font-weight: 600;
  color: #2d3748;
}

.user-role {
  font-size: 12px;
  color: #718096;
}

/* Breadcrumb */
.breadcrumb {
  padding: 15px 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #718096;
}

.breadcrumb a {
  color: #8b5cf6;
  text-decoration: none;
}

.sidebar-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
}

/* Content Area */
.content {
    padding: 30px;
}

.section-title {
  font-size: 18px;
  color: #2d3748;
  margin-bottom: 20px;
  padding-left: 12px;
  border-left: 4px solid #8b5cf6;
}

/* Dashboard Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 20px;
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  background-color: #42251f;
}

.stat-info h3 {
  font-size: 32px;
  color: #2d3748;
  font-weight: 700;
}

.stat-info p {
  font-size: 14px;
  color: #718096;
  margin-top: 5px;
}

/* Table */
.table-container {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.table-header {
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
}

.add-btn {
  background: #8b5cf6;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background: #f8fafc;
}

th {
  padding: 15px 20px;
  text-align: left;
  font-weight: 600;
  color: #475569;
  font-size: 14px;
}

td {
  padding: 20px;
  color: #64748b;
  border-top: 1px solid #e2e8f0;
}

tr:hover {
  background: #f8fafc;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #94a3b8;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.badge.purple {
  background: #ede9fe;
  color: #7c3aed;
}

.badge.blue {
  background: #dbeafe;
  color: #2563eb;
}

.badge.orange {
  background: #fed7aa;
  color: #ea580c;
}

.badge.red {
  background: #fecaca;
  color: #dc2626;
}

.badge.green {
  background: #d1fae5;
  color: #059669;
}

/* Status Badges at Bottom */
.status-badges {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 20px 30px;
  flex-wrap: wrap;
}

/* Search Section */
.search-section {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.search-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  align-items: end;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  color: #475569;
  font-weight: 500;
}

.form-group input {
  padding: 12px 15px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
}

.btn-group {
  display: flex;
  gap: 10px;
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary {
  background: #3b82f6;
  color: white;
}

.btn-secondary {
  background: #e2e8f0;
  color: #475569;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Link styles */
.link {
  color: #3b82f6;
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  background: #1e2742;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 20px;
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 1001;
}

/* Responsive */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .header {
    padding-left: 70px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .search-grid {
    grid-template-columns: 1fr;
  }

  .table-container {
    overflow-x: auto;
  }

  table {
    min-width: 800px;
  }

  .status-badges {
    justify-content: center;
  }
}

.welcome-text {
  font-size: 28px;
  color: #2d3748;
  margin-bottom: 30px;
}


/* PROFILE HEADER */
.profile-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  margin: 20px 0;
  display: flex;
  height: 190px;
  position: relative;
}

.profile-bg {
  background: #01b0ff;
  width: 100%;
}

.profile-left {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
}

.profile-photo {
  width: 110px;
  height: 110px;
  border-radius: 10px;
}

.contact-box p {
  margin: 5px 0;
  color: #333;
}

/* FORM */
.profile-form {
  background: white;
  padding: 30px;
  border-radius: 10px;
}

.profile-form h2 {
  margin-bottom: 20px;
  font-size: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  grid-column: span 3;
}

.form-group label {
  font-weight: bold;
  margin-bottom: 5px;
}

input,
select,
textarea {
  padding: 10px;
  border: 1px solid #d7d7d7;
  border-radius: 6px;
  font-size: 14px;
}

textarea {
  height: 100px;
  resize: none;
}

.thumb {
  margin-top: 10px;
  width: 80px;
  border-radius: 6px;
}

.submit-btn {
  margin-top: 25px;
  padding: 12px 30px;
  background: #00b3ff;
  border: none;
  border-radius: 6px;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

/* RESPONSIVE */
@media(max-width: 900px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: span 1;
  }
}


@media(max-width: 768px) {
  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
  }

  .breadcrumb {
    margin-top: 70px;
    /* header height */
  }

  .content {
    padding-top: 90px 0;
    /* header spacing */
  }
}



@media(max-width: 768px) {
  .main-content {
    margin-left: 0 !important;
    overflow-x: hidden;
    overflow-y: auto;
    height: 100vh;
  }


  .page-title {
    font-size: 18px;
  }

}


@media(max-width: 768px) {
  .sidebar {
    position: fixed;
    left: -100%;
    top: 0;
    height: 100%;
    width: 220px;
    transition: 0.3s;
  }

  .sidebar.active {
    left: 0;
  }
  .content {
    padding: 30px 0;
}
.user-name {
    font-size: 10px;}
   
}