* {
  box-sizing: border-box;
  font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 16px;
}

body {
  background-color: #f5f5f5;
  margin: 0;
}

.header {
  background-color: #0c5f69;
  height: 60px;
  width: 100%;
}

.header-logo {
  height: 35px;
  width: auto;
}

.header .wrapper {
  display: flex;
  position: relative;
  margin: 0 auto;
  max-width: 1200px;
  width: 100%;
  height: 100%;
}

.header .wrapper h1, .header .wrapper a, .header .wrapper label {
  display: inline-flex;
  align-items: center;
}

.header .wrapper h1 {
  flex: 1;
  font-size: 20px;
  padding: 0;
  margin: 0;
  color: #eaebed;
  font-weight: normal;
}

.header .wrapper h1 a {
  font-weight: inherit;
  font-size: inherit;
  color: #e0e1e4;
  text-decoration: none;
}

.header .wrapper h1 a:hover {
  color: #eaebed;
}

.header .wrapper label, .header .wrapper input[type="checkbox"] {
  display: none;
}

.header .wrapper label {
  justify-content: center;
  width: 60px;
  border-left: 1px solid #28303d;
  cursor: pointer;
}

.header .wrapper label i {
  color: #fff;
}

.header .wrapper label:hover i, .header .wrapper label:active i {
  color: #eaebed;
}

.header .wrapper .menu {
  display: flex;
  align-items: center;
}

.header .wrapper .menu a {
  padding: 0 15px;
  text-decoration: none;
  color: #cbced2;
  font-weight: 500;
  font-size: 16px;
}

.header .wrapper .menu a i {
  font-size: 14px;
  padding: 2px 8px 0 0;
}

.header .wrapper .menu a:hover {
  color: #e0e1e4;
}

.content {
  max-width: 1200px;
  width: 100%;
  margin: 10px auto;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.content h2 {
  margin: 0 0 10px 0;
  padding: 25px 0;
  font-size: 20px;
  font-weight: 600;
  border-bottom: 1px solid #ebebeb;
  color: #767a84;
}

.btns {
  display: flex;
}

.btn {
  display: inline-block;
  appearance: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  background-color: #3b78bd;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.14);
  font-weight: 500;
  font-size: 14px;
  border-radius: 4px;
  color: #FFFFFF;
  padding: 9px 14px;
  margin: 15px 11px 15px 0;
  align-self: flex-start;
}

.btn:hover {
  background-color: #3771b1;
}

.btn.red {
  background-color: #b63838;
}

.btn.red:hover {
  background-color: #a33232;
}

.home .tickets-links {
  display: flex;
  justify-content: space-between;
  flex-flow: nowrap;
  padding-top: 25px;
}

.home .tickets-links a {
  display: flex;
  flex-flow: column;
  position: relative;
  text-decoration: none;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: 200px;
}

.home .tickets-links a i {
  position: absolute;
  z-index: 0;
}

.home .tickets-links a .title {
  color: #fff;
  z-index: 1;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.home .tickets-links a .num {
  color: #fff;
  z-index: 1;
  font-size: 40px;
  font-weight: bold;
  opacity: 0.8;
}

.home .tickets-links a.open {
  background-color: #aeaeae;
}

.home .tickets-links a.open i {
  color: #b6b6b6;
}

.home .tickets-links a.open:hover {
  background-color: #ababab;
}

.home .tickets-links a.resolved {
  background-color: #3fa864;
}

.home .tickets-links a.resolved i {
  color: #43b36b;
}

.home .tickets-links a.resolved:hover {
  background-color: #3ea462;
}

.home .tickets-links a.closed {
  background-color: #a83f3f;
}

.home .tickets-links a.closed i {
  color: #b34343;
}

.home .tickets-links a.closed:hover {
  background-color: #a43e3e;
}

.home .new {
  padding-top: 60px;
}

.tickets .tickets-list, .home .tickets-list {
  display: flex;
  flex-flow: column;
}

.tickets .tickets-list .ticket, .home .tickets-list .ticket {
  position: relative;
  padding: 15px;
  width: 100%;
  border-bottom: 1px solid #ebebeb;
  display: flex;
  align-items: center;
}

.tickets .tickets-list .ticket .edit-btn {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.tickets .tickets-list .ticket .ticket-content {
  display: flex;
  width: 100%;
  text-decoration: none;
  align-items: center;
  padding-left: 45px;
}

.tickets .tickets-list .ticket .con {
  display: flex;
  justify-content: center;
  flex-flow: column;
}

.tickets .tickets-list .ticket .con:first-of-type {
  width: 80px;
  text-align: center;
}

.tickets .tickets-list .ticket .con2 {
  display: flex;
  flex-flow: row;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.tickets .tickets-list .ticket .edit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: #3b78bd;
  color: white !important;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.tickets .tickets-list .ticket .edit-btn:hover {
  background: #2d5c91;
}

.tickets .tickets-list .ticket .edit-btn i {
  font-size: 14px;
  color: white !important;
}

.tickets .tickets-list .ticket i, .home .tickets-list .ticket i {
  text-align: center;
  width: 80px;
  color: #d9d9d9;
}

.tickets .tickets-list .ticket .title, .home .tickets-list .ticket .title {
  font-weight: 600;
  color: #666666;
  padding-bottom: 8px;
}

.tickets .tickets-list .ticket .msg, .home .tickets-list .ticket .msg {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 400px;
  color: #999999;
  font-size: 14px;
}

.tickets .tickets-list .ticket .created, .home .tickets-list .ticket .created {
  flex-grow: 1;
  align-items: flex-end;
  color: #999999;
  font-size: 14px;
}

.tickets .tickets-list .ticket .priority, .home .tickets-list .ticket .priority {
  text-transform: capitalize;
  font-weight: 600;
  font-size: 12px;
  padding: 2px 9px;
  border-radius: 15px;
}

.tickets .tickets-list .ticket .priority.low, .home .tickets-list .ticket .priority.low {
  background-color: #b8f7d5;
  color: #34aa6b;
}

.tickets .tickets-list .ticket .priority.medium, .home .tickets-list .ticket .priority.medium {
  background-color: #f8eac2;
  color: #dea200;
}

.tickets .tickets-list .ticket .priority.high, .home .tickets-list .ticket .priority.high {
  background-color: #f7caca;
  color: #b64343;
}

.tickets .tickets-list .ticket:last-child, .home .tickets-list .ticket:last-child {
  border-bottom: 0;
}

.tickets .tickets-list .ticket:hover, .home .tickets-list .ticket:hover {
  background-color: #fcfcfc;
}

.tickets .tickets-list .ticket:hover i, .home .tickets-list .ticket:hover i {
  color: #bfbfbf;
}

.tickets form, .home form {
  display: flex;
  padding: 20px 0;
  justify-content: space-between;
}

.tickets form select, .tickets form input, .home form select, .home form input {
  border: 1px solid #ced3d6;
  padding: 6px 8px;
  margin-left: 10px;
  border-radius: 4px;
}

.tickets form select::placeholder, .tickets form input::placeholder, .home form select::placeholder, .home form input::placeholder {
  color: #b2babf;
}

.tickets form select, .home form select {
  margin-right: 15px;
}

.tickets form .search, .home form .search {
  position: relative;
}

.tickets form .search input, .home form .search input {
  padding-right: 30px;
}

.tickets form .search button, .home form .search button {
  position: absolute;
  right: 5px;
  top: 6px;
  background-color: transparent;
  border: 0;
  color: #ced3d6;
  cursor: pointer;
}

.tickets form .search button:hover, .home form .search button:hover {
  color: #b2babf;
}

.tickets .pagination, .home .pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 20px 0 40px 0;
}

.tickets .pagination a, .home .pagination a {
  display: flex;
  text-decoration: none;
  padding: 5px 10px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 4px;
  background-color: #f0f0f0;
  color: #999999;
}

.tickets .pagination a:hover, .home .pagination a:hover {
  background-color: #ebebeb;
}

.tickets .pagination a.next, .home .pagination a.next {
  margin-left: 12px;
}

.tickets .pagination span, .home .pagination span {
  font-size: 14px;
  font-weight: 600;
  padding-left: 12px;
  color: #999999;
}

.view h2 span {
  font-weight: 600;
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 15px;
  margin-left: 10px;
  text-transform: capitalize;
}

.view h2 .open {
  background-color: #e8ebec;
  color: #8e9499;
}

.view h2 .resolved {
  background-color: #b8f7d5;
  color: #34aa6b;
}

.view h2 .closed {
  background-color: #f7caca;
  color: #b64343;
}

.view .profile {
  display: flex;
  padding-top: 10px;
}

.view .profile .icon {
  padding: 5px 20px 0 0;
}

.view .profile .icon span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background-color: #777;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
}

.view .profile .info {
  display: flex;
  flex-flow: column;
  justify-content: center;
}

.view .profile .info .name {
  margin: 0;
  padding: 3px 0 0 0;
  font-weight: 600;
  font-size: 18px;
  color: #666666;
}

.view .profile .info .email {
  margin: 0;
  padding: 2px 0 0 0;
  font-size: 14px;
  color: #999999;
}

.view .ticket {
  padding: 10px 0;
}

.view .ticket span {
  font-weight: 600;
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 15px;
  margin-right: 5px;
}

.view .ticket .priority {
  text-transform: capitalize;
}

.view .ticket .priority.low {
  background-color: #b8f7d5;
  color: #34aa6b;
}

.view .ticket .priority.medium {
  background-color: #f8eac2;
  color: #dea200;
}

.view .ticket .priority.high {
  background-color: #f7caca;
  color: #b64343;
}

.view .ticket .sep {
  padding: 0 5px;
}

.view .ticket .category {
  background-color: #e8ebec;
  color: #8e9499;
}

.view .ticket .created {
  display: flex;
  color: gray;
  justify-content: flex-end;
  flex-grow: 1;
}

.view .ticket .msg {
  margin: 0;
  padding: 30px 0 20px 0;
  font-size: 16px;
}

.view .ticket div {
  display: flex;
}

.view .uploads-header {
  color: #5e6169;
  font-size: 14px;
  font-weight: 600;
  padding: 5px 0;
  margin: 0;
}

.view .uploads {
  display: flex;
  padding: 10px 0;
}

.view .uploads a {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  margin-right: 10px;
  border: 1px solid #dcdfe2;
  padding: 5px;
  width: 80px;
  height: 80px;
  overflow: hidden;
}

.view .uploads a img {
  width: 100%;
  max-height: 100%;
}

.view .uploads a i {
  font-size: 22px;
  color: #dcdfe2;
}

.view .uploads a span {
  font-size: 12px;
  font-weight: 700;
  margin-top: 10px;
  text-transform: uppercase;
  color: #b2babf;
}

.view .uploads a:hover {
  border: 1px solid #c0c7ca;
}

.view .uploads a:hover i {
  color: #ced3d6;
}

.view .uploads a:hover span {
  color: #a4aeb3;
}

.view .uploads a:hover img {
  opacity: .9;
}

.view .comments {
  margin-top: 15px;
  border-top: 1px solid #ebebeb;
  padding: 25px 0;
}

.view .comments .comment {
  display: flex;
  padding-bottom: 5px;
}

.view .comments .comment div {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 70px;
  color: #e6e6e6;
  transform: scaleX(-1);
}

.view .comments .comment p {
  margin: 0 0 20px 0;
}

.view .comments .comment p .comment-header {
  display: flex;
  padding-bottom: 5px;
}

.view .comments .comment p .comment-header .name, .view .comments .comment p .comment-header .date {
  font-size: 14px;
  color: gray;
}

.view .comments .comment p .comment-header .name {
  font-weight: 600;
  padding-right: 10px;
  color: #0058ba;
}

.view .comments .comment p .comment-header .name.is-admin {
  color: #b94040;
}

.view .comments .comment p .comment-header .edit {
  text-decoration: none;
  margin-left: 10px;
  color: #cccccc;
  cursor: pointer;
}

.view .comments .comment p .comment-header .edit:hover {
  color: #b3b3b3;
}

.update form, .view form, .login form {
  padding: 15px 0;
  display: flex;
  flex-flow: column;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.update form .wrap, .view form .wrap, .login form .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.update form .wrap label, .update form .wrap select, .view form .wrap label, .view form .wrap select, .login form .wrap label, .login form .wrap select {
  width: 47%;
  margin-right: 0;
}

.update form .wrap label:first-child, .update form .wrap select:first-child, .view form .wrap label:first-child, .view form .wrap select:first-child, .login form .wrap label:first-child, .login form .wrap select:first-child {
  padding-right: 15px;
}

.update form label, .view form label, .login form label {
  display: inline-flex;
  width: 100%;
  padding: 10px 0;
  margin-right: 25px;
}

.update form input, .update form select, .view form input, .view form select, .login form input, .login form select {
  padding: 10px 12px;
  width: 100%;
  margin-right: 25px;
  margin-bottom: 15px;
  border-radius: 4px;
  border: 1px solid #ced3d6;
}

.update form input::placeholder, .update form select::placeholder, .view form input::placeholder, .view form select::placeholder, .login form input::placeholder, .login form select::placeholder {
  color: #b2babf;
}

.update form .msg, .view form .msg, .login form .msg {
  display: flex;
  flex-flow: column;
  width: 100%;
  padding-bottom: 15px;
}

.update form .msg textarea, .view form .msg textarea, .login form .msg textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #dfe1e7;
  border-bottom: 0;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  height: 150px;
  resize: none;
  outline: 0;
}

.update form .msg textarea::placeholder, .view form .msg textarea::placeholder, .login form .msg textarea::placeholder {
  color: #b2babf;
}

.update form .msg .toolbar, .view form .msg .toolbar, .login form .msg .toolbar {
  display: flex;
  width: 100%;
  border: 1px solid #dfe1e7;
  background-color: #f8f8f8;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.update form .msg .toolbar .fa-solid, .view form .msg .toolbar .fa-solid, .login form .msg .toolbar .fa-solid {
  padding: 10px;
  cursor: pointer;
  color: #7a7a7a;
  font-size: 14px;
}

.update form .msg .toolbar .fa-solid:hover, .view form .msg .toolbar .fa-solid:hover, .login form .msg .toolbar .fa-solid:hover {
  color: #474747;
}

.update form .error-msg, .view form .error-msg, .login form .error-msg {
  color: #b63838;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 0;
  margin: 0;
}

.login {
  display: flex;
  padding-top: 40px;
}

.login .con {
  flex-basis: 50%;
}

.login .con:last-child {
  padding-left: 50px;
  border-left: 1px solid #f2f2f2;
}

.login h2 {
  border: 0;
}

@media screen and (max-width: 1200px) {
  .header .wrapper {
    width: 100%;
  }
  .header .wrapper h1 {
    font-size: 18px;
    padding: 10px;
  }
  .header .wrapper label {
    display: inline-flex;
  }
  .header .wrapper .menu {
    display: none;
    position: absolute;
    top: 100%;
    width: 100%;
    flex-flow: column;
    background-color: #262e3a;
    justify-items: flex-start;
    align-items: flex-start;
  }
  .header .wrapper input[type="checkbox"]:checked ~ .menu {
    display: flex;
  }
  .header .wrapper input[type="checkbox"]:checked ~ .menu a {
    width: 100%;
    padding: 15px 17px;
    border-bottom: 1px solid #202630;
  }
  .content {
    padding: 10px;
  }
  .responsive-width-100 {
    width: 100%;
    max-width: 100%;
  }
  
  .responsive-hidden {
    display: none;
  }
  .tickets form, .home form, .login form {
    width: 100%;
    flex-flow: column;
  }
  .tickets form select, .tickets form input, .home form select, .home form input, .login form select, .login form input {
    margin: 10px 0;
  }
  .tickets form div, .home form div, .login form div {
    display: flex;
    flex-flow: column;
  }
  .tickets .tickets-links, .home .tickets-links, .login .tickets-links {
    flex-flow: column;
  }
  .tickets .tickets-links a, .home .tickets-links a, .login .tickets-links a {
    margin-bottom: 10px;
  }
  .login {
    flex-flow: column;
  }
  .login .con {
    flex-basis: 100%;
  }
  .login .con:last-child {
    padding-left: 0;
    border-left: none;
  }
}

/* Add these new styles and remove the previous grid-container styles */
.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
    width: calc(100% + 20px);
}

.form-col {
    flex: 1;
    min-width: 300px;
    padding: 10px;
}

@media screen and (max-width: 768px) {
    .form-col {
        flex: 100%;
    }
    
    .wrap {
        flex-direction: column;
    }
    
    .wrap-item {
        width: 100%;
        margin-bottom: 15px;
    }
}

/* Add these new styles for the right sidebar */
.right-sidebar-toggle {
    position: fixed;
    right: 20px;
    top: 80px;
    z-index: 1000;
    background: white;
    color: #3b78bd;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
    border: 2px solid #3b78bd;
}

.right-sidebar-toggle i {
    font-size: 24px;
}

.right-sidebar-toggle:hover {
    background: #3b78bd;
    color: white;
    transform: scale(1.05);
}

.right-sidebar {
    position: fixed;
    right: -300px;
    top: 60px;
    width: 300px;
    height: calc(100vh - 60px);
    background: white;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 999;
}

.right-sidebar.open {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
}

.sidebar-header h3 {
    margin: 0;
    font-size: 18px;
    color: #0c5f69;
}

.close-sidebar {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 5px;
}

.close-sidebar:hover {
    color: #333;
}

.sidebar-content {
    padding: 15px;
}

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

.sidebar-content ul li {
    margin-bottom: 10px;
}

.sidebar-content ul li a {
    display: flex;
    align-items: center;
    padding: 10px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.sidebar-content ul li a:hover {
    background-color: #f5f5f5;
}

.sidebar-content ul li a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .right-sidebar {
        width: 100%;
        right: -100%;
    }
}

.help-section {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.help-section:last-child {
    border-bottom: none;
}

.help-section h4 {
    color: #3b78bd;
    margin: 0 0 10px 0;
    font-size: 16px;
}

.help-text {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

/* Quick Help Sidebar Styles */
.right-sidebar-toggle {
    position: fixed;
    right: 20px;
    top: 80px;
    z-index: 1000;
    background: white;
    color: #3b78bd;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
    border: 2px solid #3b78bd;
}

.right-sidebar {
    position: fixed;
    right: -300px;
    top: 60px;
    width: 300px;
    height: calc(100vh - 60px);
    background: white;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 999;
}

.right-sidebar.open {
    right: 0;
}

.right-sidebar-toggle:hover {
    background: #3b78bd;
    color: white;
}

/* Add these styles for the edit button */
.edit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #3b78bd;
    color: white !important;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.edit-btn:hover {
    background: #2d5c91;
}

.edit-btn i {
    font-size: 14px;
    color: white !important;
}

/* Add these styles */
.edit-column {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    margin-right: 10px;
}

/* Add these styles to style.css */
.search-results-table {
    overflow-x: auto;
    width: 100%;
}

.search-results-table table {
    border-collapse: collapse;
    background-color: #fff;
    min-width: 100%;
}

.search-results-table th,
.search-results-table td {
    padding: 8px 12px;
    border: 1px solid #ddd;
    text-align: left;
}

.search-results-table th {
    background-color: #f5f5f5;
    font-weight: 600;
}

.search-results-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.add-user-btn {
    padding: 4px 8px;
    background-color: #4a79b4;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.add-user-btn:hover {
    background-color: #3b6293;
}

.no-results,
.no-search {
    padding: 15px;
    color: #666;
    font-style: italic;
}

/* Add these styles to your existing navtop styles */
.navtop div a[href*="zohodesk"] {
    background-color: #28a745;
    color: #fff;
    border-radius: 4px;
    margin: 0 5px;
    transition: background-color 0.2s;
}

.navtop div a[href*="zohodesk"]:hover {
    background-color: #218838;
}

.navtop div a[href*="zohodesk"] i {
    color: #fff;
}

/* Update the support link styles */
.header .wrapper .menu a.support-link {
    background-color: #28a745;
    color: #fff;
    border-radius: 4px;
    padding: 5px 12px;
    margin: 0 5px;
    transition: background-color 0.2s;
}

.header .wrapper .menu a.support-link:hover {
    background-color: #218838;
    color: #fff;
}

.header .wrapper .menu a.support-link i {
    color: #fff;
}

/* Ensure proper mobile responsiveness */
@media screen and (max-width: 1200px) {
    .header .wrapper .menu a.support-link {
        width: 100%;
        margin: 0;
        border-radius: 0;
    }
}

/* Add these styles for the logo */
.header .wrapper h1 {
    margin: 0;
    padding: 0;
}

.header .wrapper h1 a {
    display: flex;
    align-items: center;
    height: 100%;
}

.header .wrapper h1 .logo {
    height: 40px; /* Adjust this value to match your logo height */
    width: auto;
    padding: 5px 0;
}

/* Update input styles */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="date"],
select,
textarea {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f8f9fa;
    color: #495057;
    transition: all 0.2s ease;
    width: 100%;
    font-size: 14px;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

input::placeholder,
textarea::placeholder {
    color: #adb5bd;
}

/* Style for disabled inputs */
input:disabled,
select:disabled,
textarea:disabled {
    background-color: #e9ecef;
    cursor: not-allowed;
}

/* Update search box styles */
.content-header form .search {
    flex: 2; /* Make search take up more space */
    margin-right: 15px;
}

.content-header form .search input {
    width: 100%;
    min-width: 300px; /* Minimum width for the search box */
    padding: 10px 35px 10px 12px; /* Extra padding for the search icon */
}

.content-header form select {
    flex: 1;
    max-width: 200px; /* Limit the width of select dropdowns */
    margin-right: 15px;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .content-header form .search input {
        min-width: 100%; /* Full width on mobile */
    }
    
    .content-header form select {
        max-width: 100%; /* Full width on mobile */
    }
}

/* Add/update these modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.modal-content {
    background-color: #fefefe;
    margin: 3% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 95%;
    max-width: 1200px;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.close {
    position: absolute;
    right: 15px;
    top: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: #333;
}

/* Add styles for the misconduct details */
.misconduct-details {
    margin-top: 20px;
}

.detail-row {
    margin-bottom: 20px;
    display: flex;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row label {
    font-weight: 600;
    width: 180px;
    color: #555;
    flex-shrink: 0;
}

.detail-row span,
.detail-row p {
    flex: 1;
    color: #333;
    margin: 0;
}

/* Table styles for the misconduct records */
.table_profile_info {
    margin-top: 20px;
    overflow-x: auto;
    max-width: 100%;
}

.table_profile_info table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    margin-bottom: 20px;
    background-color: #fff;
}

.table_profile_info th,
.table_profile_info td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.table_profile_info th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.table_profile_info tr:hover {
    background-color: #f5f5f5;
}

.table_profile_info .total-row {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Responsive adjustments */
@media screen and (max-width: 1024px) {
    .modal-content {
        width: 98%;
        margin: 2% auto;
        padding: 20px;
    }
}

/* Hide fields based on config settings */
.wrap-item[style*="display: none"] {
    display: none !important;
}

/* Adjust spacing when fields are hidden */
.wrap:empty {
    display: none;
}

.wrap {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.wrap-item {
    flex: 1;
}

/* Add styles for the user info in header */
.header .wrapper .menu .user-info {
    display: inline-flex;
    align-items: center;
    padding: 0 15px;
    color: #cbced2;
    font-weight: 500;
    font-size: 16px;
}

.header .wrapper .menu .user-info i {
    font-size: 16px;
    padding: 2px 8px 0 0;
    color: #cbced2;
}

/* Update mobile styles */
@media screen and (max-width: 1200px) {
    .header .wrapper .menu .user-info {
        width: 100%;
        padding: 15px 17px;
        border-bottom: 1px solid #202630;
    }
}

/* User dropdown styles - updated */
.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #262e3a;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 4px;
    margin-top: 0;
    padding: 12px 0;
    transition: opacity 0.3s ease;
    opacity: 0;
}

/* Updated link styles for full width */
.dropdown-content a {
    color: #cbced2;
    padding: 20px 25px;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: background-color 0.2s;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

/* Add spacing between items */
.dropdown-content a:not(:last-child) {
    margin-bottom: 8px;
    padding-bottom: 20px;
}

.dropdown-content a:not(:first-child) {
    margin-top: 8px;
}

.dropdown-content a i {
    width: 24px;
    margin-right: 15px;
    flex-shrink: 0;
    font-size: 18px;
}

.dropdown-content a span {
    flex-grow: 1;
}

/* General hover styles */
.dropdown-content a:hover {
    background-color: #1a1f28;
    color: #ffffff;
}

/* User dropdown styles */
.user-dropdown {
    position: relative;
    display: inline-block;
    padding: 10px 0;
}

.user-dropdown .user-info {
    cursor: pointer;
    padding: 5px 15px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.user-dropdown .fa-chevron-down {
    font-size: 12px;
    margin-left: 5px;
}

/* Show dropdown on hover */
.user-dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    animation: fadeIn 0.2s ease;
}

/* Animation for smooth appearance */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile styles */
@media screen and (max-width: 1200px) {
    .user-dropdown {
        width: 100%;
        padding: 0;
    }
    
    .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        background-color: #1a1f28;
        display: none;
        opacity: 1;
        animation: none;
    }
    
    .user-dropdown .user-info {
        width: 100%;
        padding: 15px 17px;
        border-bottom: 1px solid #202630;
    }
    
    .dropdown-content a {
        padding: 15px 45px;
    }
}

/* Dropdown separator styles */
.dropdown-separator {
    padding: 5px 25px;
    color: #3a4456;
    text-align: center;
    font-size: 14px;
    user-select: none;
    border-top: 1px solid #3a4456;
    border-bottom: 1px solid #3a4456;
    margin: 8px 0;
}

.dropdown-separator span {
    opacity: 0.5;
}

/* Adjust spacing around separator */
.dropdown-content a + .dropdown-separator {
    margin-top: 8px;
}

.dropdown-separator + a {
    margin-top: 8px;
}

/* Comment Form Styles */
.comment-form-section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px;
    margin-bottom: 15px;
}

.comment-form {
    display: flex;
    flex-direction: column;
}

.comment-form .form-group {
    position: relative;
    padding: 0;
    margin: 0;
}

.comment-form textarea {
    width: 100%;
    min-height: 50px;
    padding: 8px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 4px 4px 0 0;
    font-size: 13px;
    line-height: 1.4;
    resize: vertical;
    background: #fff;
    border-bottom: none;
    display: block;
    margin: 0;
    font-family: inherit;
}

.comment-form textarea:focus {
    outline: none;
    border-color: #4a79b4;
    background: #fff;
}

.comment-form textarea::placeholder {
    color: #a0aec0;
    font-size: 13px;
}

.comment-form .controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0 0 4px 4px;
    padding: 4px 6px;
    margin-top: -1px;
}

.comment-form .toolbar {
    display: flex;
    gap: 1px;
}

.comment-form .toolbar i {
    padding: 6px 8px;
    cursor: pointer;
    color: #4a5568;
    border-radius: 3px;
    font-size: 12px;
}

.comment-form .toolbar i:hover {
    background: #edf2f7;
    color: #2d3748;
}

.comment-form .submit-btn {
    background: #4a79b4;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    height: 28px;
}

.comment-form .submit-btn:hover {
    background: #3b6293;
}

/* Comments Section Styles */
.comments {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
}

.comments h3 {
    font-size: 15px;
    color: #2d3748;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.comment {
    display: flex;
    gap: 12px;
    padding: 10px;
    margin-bottom: 10px;
    background: #f8fafc;
    border-radius: 4px;
}

.comment:last-child {
    margin-bottom: 0;
}

.comment i.fa-comment {
    color: #4a79b4;
    font-size: 16px;
    margin-top: 3px;
}

.comment p {
    flex: 1;
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.comment .name {
    font-weight: 500;
    color: #2d3748;
    font-size: 13px;
}

.comment .date {
    color: #718096;
    font-size: 12px;
}

.comment .edit {
    margin-left: auto;
    color: #718096;
    font-size: 12px;
}

.comment .edit:hover {
    color: #4a79b4;
}