.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.card-header {
    background-color: #f8f9fa; /* Light gray background */
    border: none; /* Remove border */
}

.card-header a {
  text-decoration: none;
}

.card-title {
    font-size: 1.2rem;
    color: #333; /* Dark text color */
}

.card-body {
    padding: 1.5rem;
}

.card-text {
    color: #777; /* Adjusted gray text color */
}

.btn {
    border-radius: 0.25rem; /* Slightly rounded corners */
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #007bff; /* Bootstrap primary color */
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3; /* Darker shade of primary color */
    border-color: #0056b3;
}

.btn-secondary {
    background-color: #6c757d; /* Bootstrap secondary color */
    border-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #5a6268; /* Darker shade of secondary color */
    border-color: #5a6268;
}

/* Transition effects */
.btn,
.card,
.card-header,
.card-body {
    transition: all 0.3s ease;
}

/* custom.css */

/* Set fixed height for card-body */
.summary .card-body {
   height: 300px; /* Adjust as needed */
   overflow-y: auto; /* Add vertical scroll if content overflows */
}

/* Or set height as one-third of the user-visible screen height */
@media (min-height: 576px) {
   .summary .card-body {
       height: calc(100vh / 3); /* Adjust as needed */
       overflow-y: auto; /* Add vertical scroll if content overflows */
   }
}

/* Style the user email near the avatar */
.user-email {
   margin-left: 10px;
   font-size: 14px;
   color: #555; /* Adjust color as needed */
}

.avatar {
 max-width: 45px;
 border-radius: 50%;
 background: white;
 border: 1px solid #ddd;
 margin-right: 10px;
}

.tasks-list li {
   list-style-type: none;
}

/* Default Bootstrap button styles */
.btn {
    border-radius: 0.25rem; /* Slightly rounded corners */
    transition: all 0.3s ease;
    padding: 0.3rem 0.6rem; /* Adjust padding */
    font-size: 14px; /* Adjust font size */
    text-transform: uppercase; /* Convert text to uppercase */
    background-color: transparent; /* Transparent background */
    color: #000; /* Default text color */
}



.btn-success {
  border: 0px;
  color: #555;
}

.btn:hover {
    color: white; /* Text color on hover */
}


.btn-primary {
   background-color: transparent; /* Transparent background */
   border: 0px solid #007bff; /* Bootstrap primary color border */
   color: #007bff; /* Bootstrap primary color text */
}

.btn-primary:hover {
   background-color: #007bff; /* Bootstrap primary color on hover */
   color: #fff; /* White text on hover */
}

.btn-secondary {
   background-color: transparent; /* Transparent background */
   border: 0px solid #6c757d; /* Bootstrap secondary color border */
   color: #6c757d; /* Bootstrap secondary color text */
}

.btn-secondary:hover {
   background-color: #6c757d; /* Bootstrap secondary color on hover */
   color: #fff; /* White text on hover */
}

ul.tasks-list  {
 padding-left: 0px;
}

.tasks-list li {
   list-style-type: none;
   padding: 10px;
   margin-bottom: 10px;
   display: flex;
   align-items: center;
}

.tasks-list li:nth-child(even) {
   background-color: #f8f9fa; /* Light gray background */
}


.task-checkbox {
   width: 20px;
   height: 20px;
   margin-right: 10px;
}

.task-checkbox + span {
   flex: 1;
   overflow: hidden;
   white-space: nowrap;
   text-overflow: ellipsis;
}

.card-footer{
 border: 0px;
 text-align: right;
 background-color: #fcfcfc;
}




.custom-modal {
    position: fixed;
    background: rgba(0, 0, 0, 0.5); /* Darker background */
    z-index: 9999;
}

.custom-modal .modal-dialog {
    border: none; /* Remove border */
    max-width: 90%;
    width: 700px;
    border-radius: 6px;
}

.custom-modal .modal-content {
  border:0px;
}

.modal-content .close {
  border: 0px;
  border-radius: 6px;
}

.custom-modal .modal-header {
    border: none;
    background-color: #f8f9fa;
}

.custom-modal .modal-footer {
    border: none;
}

.custom-modal .modal-body {
    padding: 20px; /* Add padding */
}

.task-modal .modal-footer{
      color: #555;
}

.task-modal .modal-title{
      color: #555;
}

.task-modal select{
  width: 160px;
}

.client-note {
  font-size: 12px;
  color: #555;
}

/* Define classes priority5 - priority10 */
.priority5 {
  background-color: #fffcfc;
}

.priority6 {
  background-color: #fefafa;
}

.priority7 {
  background-color: #fee9e9;
}

.priority8 {
  background-color: #fee9e9;
}

.priority9 {
  background-color: #ffe1e1;
}

.priority10 {
  background-color: #ffc7c7;
}

.task-title-editable {
  margin-top: 10px;
  margin-bottom: 10px;
}

.completed-task {
    text-decoration: line-through;
}

.modal-backdrop {
  background: #00000012;
  z-index: 0;
}



.user-name {
  cursor: pointer;
}

.user-email {
  cursor: pointer;
}


/*   theme edit from chatfork  */
.card-header {
    background-color: #f9fafa !important;
}
.table td, .table th {
    border-top: 0px solid #dee2e6 !important;
}

.facebook-page-wrap radio {
    width: 20px;
    height: 20px;
    margin-right: 16px;
}


.create-form .del-btn {
  background-color:#e64545 !important;
}


.clickable-row {
  cursor: pointer;
}

.white-bg {
  background-color: #fff !important;
  padding: 10px 0px 0px 0px;
}

.main-container {
  padding-bottom:30px;
}


.header-height {
  height: 80px;
}

.form-wrap-edit {
  padding: .75rem;
}

.form-wrap-edit radio {
  width: 20px;
  height: 20px;
  margin-right: 16px;
}


.clear-all {
  width:100%;
  clear:both;
  padding-top:10px;
}

.add-btn {
    background-color: #ffbd00;
    font-family: "Work Sans",sans-serif;
    text-transform: uppercase;
    color: #fff;
    font-size: 12px;
    border-radius: 2px;
    line-height: 50px;
    font-weight: 600;
    display: inline-block;
    letter-spacing: 0.5px;
    padding: 0 30px;
    position: relative;
    top: 0;
    right: 0;
    cursor: pointer;
    border: none;
}

select.form-control {
    height: auto !important;
}

.modal-backdrop {
  background: none !important;
  display:none;
}

.drag-handle {
    cursor: grab;
    user-select: none;
}

main {
  min-height: calc(100vh - 495px);
}


.card {
  margin-top: 30px;
  margin-bottom: 30px;
}

.widget-section.padding {
  padding-bottom: 50px;
}

#header nav.navbar {
  padding-top: 0px;
}

.card-header input {
    margin: auto;
    max-width: 100%;
    margin-top: 8px;
    margin-bottom: 8px;
}

nav[role="navigation"] svg{
  max-height: 16px;
  max-width: 16px;
}

nav[role="navigation"] {
  width: 100%;
  text-decoration: none !important;
  text-align: center;
}

nav[role="navigation"] div a{
  text-decoration: none !important;
}

nav[role="navigation"] > div.flex {
  display: none !important;
}


nav[role="navigation"] > div.sm:justify-between {
  margin: auto !important;
}

.modal-footer-actions {
  width: 100%;
}


.summary-task-related-email{
  background: #fafafa;
  border: 1px solid #eeeeee;
  width: 100%;
  padding: 14px;
  height: 250px;
  overflow: scroll;
}

@media (max-width: 768px) {
    .hide-on-mobile {
      display: none;
    }
}
