@import url("./dashboard.css");
:root {
  --primary: #212128;
  --primary-light: #5dade2;
  --primary-dark: #2980b9;
  --secondary: #2ecc71;
  --secondary-light: #2ecc71;
  --secondary-dark: #2ecc71;
  --gray-light: #f2f2f2;
  --gray-mid-: #777;
  --gray-dark: #333;
  --white: #fff;
}

* {
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  font-size: 62.5%;
}
.main-contents {
  box-sizing: border-box;
  font-size: 16px !important;
}

body {
  background-color: #f4f2f2;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

form {
  width: 100%;
  /* text-align: center; */
}
form input {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  background-color: #f0eeee;

}
input{
  height: 40px;
  font-size: 16px !important;
}
select{
  height: 40px;
  font-size: 16px !important;
}
form button {
  width: 100%;
  padding: 10px;
  /* background-color: black; */
  border: none;
  color: white;
  cursor: pointer;
  /* transition: background-color 0.3s ease; */
}
form button:hover {
  background-color: rgb(79.1095890411, 79.1095890411, 95.8904109589);
}

.custom-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: rgb(255, 255, 255);
  border-radius: 50%;
  margin-right: 8px;
}


header {
  background-color: var(--primary);
  color: white;
  padding: 10px;
  height: 10%;
  width: 100%;
}

footer {
  font-size: 1.6rem;
  background-color: var(--gray-light);
  color: white;
  text-align: center;
  padding: 3rem 4rem;
  height: 1rem;
  width: 100%;
}

.content {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px;
}

.dashboard-container {
  display: flex;
  height: 100vh;
}

.sidebar {
  background-color: var(--primary);
  height: 100%;
}.sidebar {
  max-height: 100vh;
  overflow-y: auto;
  border-right: 2px solid rgba(173, 159, 159, 0.4);
  
  scrollbar-width: thin;
  scrollbar-color: #2c2c2c transparent; 
}

.sidebar::-webkit-scrollbar {
  width: 8px;
}

.sidebar::-webkit-scrollbar-thumb {
  background: #2c2c2c;
  border: 1px solid #FFF; 
  border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: #444;
}

.sidebar::-webkit-scrollbar-track {
  background: transparent; 
}

.main-content {
  width: 90%;
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.login-container {
  width: 60%;
  height: 100vh;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-banner {
  background-color: #212128;
  width: 50%;
  height: 500px;
}

.login-form-container {
  width: 50%;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #ccc;
  background-color: #fff;
}

.section {
  display: none;
}

.active {
  display: block;
}

@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    top: 0;
    left: -270px;
    z-index: 10;
    width: 270px;
    height: 100vh;
    transition: left 0.3s ease;
  }
  .sidebar.active {
    left: 0;
  }
}

/*-------------------------- */
/* Text Editor  */

.btn {
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  background-color: #f3f4f6;
  transition: background-color 0.2s;
}
.btn:hover {
  background-color: #e5e7eb;
}

/* Table Grid Container */
#gridContainer {
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  gap: 4px;
  width: 200px;
}
#gridContainer div {
  border: 1px solid #d1d5db;
  text-align: center;
  line-height: 24px;
  user-select: none;
}
#gridContainer div:hover {
  background-color: #60a5fa;
}

/* Hidden Class */
.hidden {
  display: none;
}
/* */

.parent-div {
  padding: 1rem 0.5rem;
  border: 2px solid #ccc;
}

#editor {
  border: 1px solid #3b82f6;
  width: 100%;
  max-width: 100%;
  padding: 1rem;
  min-height: 400px;
  outline: none;
  overflow-y: auto;
  overflow-x: hidden; /* অনুভূমিক স্ক্রল বন্ধ থাকবে */
  word-break: break-word; /* লম্বা শব্দ ভাঙবে এবং পরবর্তী লাইনে যাবে */
  white-space: pre-wrap; /* স্পেস এবং লাইন ব্রেক সংরক্ষণ করবে */
  box-sizing: border-box; /* padding এবং border width-এর মধ্যে থাকবে */
}
