/* dashboard.css */

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  height: 100vh;
  display: flex;
  position: relative;
  z-index: 0;
  overflow: hidden;
}

/* Pseudo-element to apply semi-transparent background image */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-image: url("login_bg.svg");
  background-repeat: repeat;
  background-size: 500px 500px;
  opacity: 0.3;
  z-index: -1;
  pointer-events: none;
}

/* Layout */
.dashboard-container {
  display: flex;
  width: 100%;
  height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 250px;
  background-color: #1a1a1a;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.logo img {
  width: 80px;
  height: 25px;
}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-menu button {
  padding: 12px 15px;
  border: none;
  background-color: #111;
  color: #ffffff;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.3s;
  border-radius: 6px;
  font-size: 1rem;
}

.nav-menu button:hover,
.nav-menu button:focus {
  background-color: #222;
  color: #6cff64;
  outline: none;
}

/* Main Content */
.main-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background-color: #000;
  height: 100vh;
}

/* Topbar */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  background-color: #111;
  border-bottom: 2px solid #6cff64;
}

.breadcrumb {
  font-size: 1.1rem;
  color: #6cff64;
  text-transform: uppercase;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #6cff64;
}

.user-name {
  font-size: 1rem;
  color: #6cff64;
}

.icon-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.2s;
}

.icon-btn:hover {
  color: #6cff64;
}

/* Auth Buttons */
.btn-auth {
  display: inline-block;
  padding: 8px 20px;
  background-color: #6cff64;
  color: #000;
  border: none;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-auth:hover {
  background-color: #4dda45;
  color: #000;
}

/* Iframe */
iframe {
  flex-grow: 1;
  border: none;
  width: 100%;
}
