
body {
  background-color: #f5f5f5;
  font-family: "Gowun Dodum", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 0.5em;
  color: #1e1e1e;
}

h1 {
  font-size: 2rem;     
}

h2 {
  font-size: 1.5rem;   
}

h3 {
  font-size: 1.25rem;  
}

h4 {
  font-size: 1.125rem;  
}

h5 {
  font-size: 1rem;   
}

h6 {
  font-size: 0.875rem;
}

.logo {
  width: 120px;
}

.login-box .logo {
  margin-bottom: 20px;
}

.sidebar .logo {
  margin-bottom: 0;
}


.login-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.login-box {
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 360px;
  text-align: center;
}


.login-box h2 {
  margin: 10px 0 20px;
  font-size: 20px;
  color: #444;
  font-weight: 400;
}

.login-box input[type="email"],
.login-box input[type="text"],
.login-box input[type="password"] {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  box-sizing: border-box;
}

.password-field {
  position: relative;
}

.password-field .eye-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 16px;
  opacity: 0.5;
}

.login-box button {
  width: 100%;
  padding: 12px;
  background-color: #2979ff;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  margin-top: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.login-box button:hover {
  background-color: #1565c0;
}

.forgot-link {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: #555;
  text-decoration: none;
}

.form-box {
  background: #fff;
  padding: 30px 30px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  max-width: 480px;
  margin: 20px auto;
}

@media (min-width: 1024px) {
  .form-box { max-width: 800px; }
}

.form-box label {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
}

.form-box input[type="text"],
.form-box input[type="password"],
.form-box select {
  width: 100%;
  padding: 10px;
  margin-top: 4px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
}

.form-box button {
  padding: 10px 20px;
  background-color: #2979ff;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-box button:hover {
  background-color: #1565c0;
}
.layout {
  display: flex;
  height: 100vh;
}

.sidebar {
  width: 240px;
  background: #fff;
  border-right: 1px solid #ddd;
  padding: 20px;
}

.sidebar h1 {
  font-size: 22px;
  text-align: center;
}

.sidebar h2 {
  font-size: 14px;
  margin-top: 20px;
  color: #666;
}
.spaces {
  margin: 10px 0;
}
.space-btn {
  display: block;
  padding: 6px 8px;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
}
.space-btn.active {
  background-color: #e0ecff;
  font-weight: bold;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.sidebar li {
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
  color: #333;
}

.sidebar li:hover,
.sidebar li.active {
  background-color: #e0ecff;
  font-weight: bold;
}

.dashboard {
  flex: 1;
  padding: 20px 40px;
  overflow-y: auto;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.topbar ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
}

.topbar li {
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 4px;
}

.topbar li.active {
  border-bottom: 2px solid #2979ff;
}

.project-tabs {
  display: flex;
  gap: 0;
}

.project-tab {
  padding: 6px 16px;
  border-radius: 6px 6px 0 0;
  border: 1px solid #999;
  border-left: 0;
  background: linear-gradient(to bottom, #fafafa 0%, #d0d0d0 100%);
  text-decoration: none;
  color: #333;
  box-shadow: inset 0 1px 0 #fff;
  position: relative;
  top: 1px;
}

.project-tab:first-child {
  border-left: 1px solid #999;
}

.project-tab.active {
  background: linear-gradient(to bottom, #e0ecff 0%, #c9dcff 100%);
  box-shadow: inset 0 1px 0 #fff;
  z-index: 1;
  border-bottom: 0;
}


.topbar input[type="text"] {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-menu a {
  text-decoration: none;
  color: #2979ff;
}

.quick-task-section {
  margin-bottom: 40px;
  background: linear-gradient(to bottom, #c9dcff 0%, #c1efff 100%);
  padding: 20px;
  border: 1px solid #999;
}

.quick-task-section.no-projects {
  border: none;
  background: none;
}

.quick-task {
  display: flex;
  gap: 10px;
}

.quick-task textarea {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  resize: vertical;
}

.quick-task button {
  padding: 10px 40px;
  font-size: 1.1rem;
  background-color: #2979ff;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.quick-task button:hover {
  background-color: #1565c0;
}

.quick-task-section .advanced-link {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 20px;
  background-color: #e0e0e0;
  color: #000;
  text-decoration: none;
  border-radius: 8px;
}

.quick-task-section .advanced-link:hover {
  background-color: #cacaca;
}

.task-section h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

.task-section {
  margin-bottom: 40px;
}

.task-section h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

th {
  background: #f0f0f0;
  font-weight: 600;
}

.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  background: #e0e0e0;
  color: #333;
}

.badge.green { background: #d1f5e1; color: #2e7d32; }
.badge.orange { background: #ffe0b2; color: #ef6c00; }
.badge.red { background: #ffcdd2; color: #c62828; }
.badge.blue { background: #bbdefb; color: #1565c0; }

@media (max-width: 768px) {
  .layout { flex-direction: column; }
  .sidebar { width: 100%; border-right: 0; border-bottom: 1px solid #ddd; }
  .dashboard { padding: 20px; }
  .topbar { flex-direction: column; align-items: flex-start; }
  .topbar ul { flex-wrap: wrap; gap: 10px; }
}

.demo ul { list-style: none; padding: 0; }
.demo li { position: relative; padding: 8px; background: white; border-radius: 4px; margin-bottom: 8px; display: flex; align-items: flex-start; }
.demo li button { border: none; }
.demo li .remove, .demo li .toggle-btn { display: none; }
.demo li:hover .remove { display: inline-block; background: #ff5252; color: white; border-radius: 4px; padding: 4px 8px; }
.demo li:hover .toggle-btn { display: inline-block; background: transparent; cursor: pointer; font-size: 18px; margin-left: auto; }
.done { text-decoration: line-through; color: #999; font-style: italic; }
.demo li .grip { visibility: hidden; cursor: grab; font-size: 18px; padding-right: 4px; }
.demo li:hover .grip { visibility: visible; }
.demo li .details { background: #f0f0f0; padding: 8px; border-radius: 4px; margin-top: 8px; width: 100%; }
.demo li .comment { display: flex; margin-top: 8px; }
.demo li .comment img { width: 45px; height: 45px; border-radius: 50%; margin-right: 8px; }
.demo li .comment-info { font-size: 12px; color: #666; }


.task-table .handle { cursor: grab; width: 20px; text-align: center; }
.task-table .task-checkbox { width: 20px; text-align: center; }
.task-table .task-checkbox input { scale: 120%; }
.task-table td.task-link a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.task-table td.task-link a:hover {
  text-decoration: underline;
  background: #f8f8f8;
}

.task-done { color: #666; }
.task-done .task-title { text-decoration: line-through; }
.archive-btn { display: none; }
.task-done .archive-btn { display: inline-block; }
.archive-all-btn { margin: 0 5px 10px 0; }

.toggle-details{background:none;border:none;cursor:pointer;font-size:16px}
.task-details{display:none;background:#f8f8f8}
.task-details td{padding:10px 16px}
.tinymce{min-height:400px;min-width:800px}

