.pd-0 {
  padding: 0px !important;
}

.pd-10 {
  padding: 10px !important;
}

.pd-15 {
  padding: 15px !important;
}

.pd-20 {
  padding: 20px !important;
}

.pd-25 {
  padding: 25px !important;
}

.pd-30 {
  padding: 30px !important;
}

.pt-0 {
  padding-top: 0px !important;
}

.pt-5 {
  padding-top: 5px !important;
}

.pt-10 {
  padding-top: 10px !important;
}

.pt-15 {
  padding-top: 15px !important;
}

.pt-20 {
  padding-top: 20px !important;
}

.pt-30 {
  padding-top: 30px !important;
}

.pt-40 {
  padding-top: 40px !important;
}

.pt-50 {
  padding-top: 50px !important;
}

.pt-60 {
  padding-top: 60px !important;
}

.pb-0 {
  padding-bottom: 0px !important;
}

.pb-5 {
  padding-bottom: 5px !important;
}

.pb-10 {
  padding-bottom: 10px !important;
}

.pb-15 {
  padding-bottom: 15px !important;
}

.pb-20 {
  padding-bottom: 20px !important;
}

.pb-30 {
  padding-bottom: 30px !important;
}

.pb-40 {
  padding-bottom: 40px !important;
}

.pb-50 {
  padding-bottom: 50px !important;
}

.pb-60 {
  padding-bottom: 60px !important;
}

.pl-0 {
  padding-left: 0px !important;
}

.pl-5 {
  padding-left: 5px !important;
}

.pl-10 {
  padding-left: 10px !important;
}

.pl-15 {
  padding-left: 15px !important;
}

.pl-20 {
  padding-left: 20px !important;
}

.pl-30 {
  padding-left: 30px !important;
}

.pl-40 {
  padding-left: 40px !important;
}

.pl-50 {
  padding-left: 50px !important;
}

.pl-60 {
  padding-left: 60px !important;
}

.pr-0 {
  padding-right: 0px !important;
}

.pr-5 {
  padding-right: 5px !important;
}

.pr-10 {
  padding-right: 10px !important;
}

.pr-15 {
  padding-right: 15px !important;
}

.pr-20 {
  padding-right: 20px !important;
}

.pr-30 {
  padding-right: 30px !important;
}

.pr-40 {
  padding-right: 40px !important;
}

.pr-50 {
  padding-right: 50px !important;
}

.pr-60 {
  padding-right: 60px !important;
}

.p-l-5 {
  padding-left: 5px !important;
}

.p-r-5 {
  padding-right: 5px !important;
}

.mt-0 {
  margin-top: 0px !important;
}

.mt-5 {
  margin-top: 5px !important;
}

.mt-8 {
  margin-top: 8px !important;
}

.mt-10 {
  margin-top: 10px !important;
}

.mt-15 {
  margin-top: 15px !important;
}

.mt-20 {
  margin-top: 20px !important;
}

.mt-30 {
  margin-top: 30px !important;
}

.mt-40 {
  margin-top: 40px !important;
}

.mt-50 {
  margin-top: 50px !important;
}

.mb-0 {
  margin-bottom: 0px !important;
}

.mb-2rem {
  margin-bottom: 2rem !important;
}

.mb-5 {
  margin-bottom: 5px !important;
}

.mb-10 {
  margin-bottom: 10px !important;
}

.mb-15 {
  margin-bottom: 15px !important;
}

.mb-20 {
  margin-bottom: 20px !important;
}

.mb-30 {
  margin-bottom: 30px !important;
}

.mb-40 {
  margin-bottom: 40px !important;
}

.mb-50 {
  margin-bottom: 50px !important;
}

.mr-0 {
  margin-right: 0px !important;
}

.mr-5 {
  margin-right: 5px !important;
}

.mr-10 {
  margin-right: 10px !important;
}

.mr-15 {
  margin-right: 15px !important;
}

.mr-20 {
  margin-right: 20px !important;
}

.mr-30 {
  margin-right: 30px !important;
}

.mr-40 {
  margin-right: 40px !important;
}

.mr-50 {
  margin-right: 50px !important;
}

.ml-0 {
  margin-left: 0px !important;
}

.ml-5 {
  margin-left: 5px !important;
}

.ml-10 {
  margin-left: 10px !important;
}

.ml-15 {
  margin-left: 15px !important;
}

.ml-20 {
  margin-left: 20px !important;
}

.ml-30 {
  margin-left: 30px !important;
}

.ml-40 {
  margin-left: 40px !important;
}

.ml-50 {
  margin-left: 50px !important;
}

.form-group {
  padding: 0 12px 0 12px;

  margin-bottom: 15px;
}

.form-control {
  border: 1px solid #ced4da !important;

  border-radius: 0.25rem !important;

  padding: 0.375rem 0.75rem !important;
}

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  --bs-gutter-x: 1.5rem !important;

  --bs-gutter-y: 0 !important;

  width: 100% !important;

  padding-right: calc(var(--bs-gutter-x) * 0.5) !important;

  padding-left: calc(var(--bs-gutter-x) * 0.5) !important;

  margin-right: auto !important;

  margin-left: auto !important;
}

.loginBackground {
  background: linear-gradient(234deg, #500073 0%, #687eff 76%) !important;
}

.loginBannerImg {
  width: 100%;

  height: 550px;

  object-fit: cover;

  border-radius: 0.375rem 0 0 0.375rem;
}

.btnLoginColor {
  background: #2c4074;

  color: #fff;

  padding: 0.375rem 0.75rem;
}

.btn-left {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);

  color: #fff;

  border: none;

  padding: 6px 20px;

  font-weight: 600;

  font-size: 16px;

  border-radius: 8px;

  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);

  transition: all 0.3s ease;

  position: relative;

  overflow: hidden;

  margin-bottom: 15px;
}

.btn-left::after {
  content: '';

  position: absolute;

  left: -50%;

  top: -50%;

  width: 200%;

  height: 200%;

  background: rgba(255, 255, 255, 0.2);

  transform: rotate(45deg);

  transition: all 0.5s ease;
}

.btn-left:hover {
  transform: translateY(-3px);

  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);

  cursor: pointer;
}

.btn-left:hover::after {
  left: 100%;

  top: 100%;
}

.task-list-heading-first {
  font-size: 22px;
}

.task-list-tbl .task-list-tbl th,
.task-list-tbl td {
  border-width: 2px; /* default 1px hoti hai */

  border-style: solid;
}

.interactive-card {
  max-width: 700px;

  background: #fff;

  padding: 35px;

  border-radius: 15px;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);

  transition: all 0.3s ease;
}

.interactive-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* Title & Back */

.interactive-title {
  font-weight: 700;

  color: #333;

  font-size: 1.6rem;
}

.interactive-back {
  color: #fff;

  background: #6c757d;

  padding: 6px 14px;

  border-radius: 8px;

  text-decoration: none;

  transition: all 0.3s ease;
}

.interactive-back:hover {
  background: #5a6268;
}

/* Inputs */

.interactive-group label {
  font-weight: 500;

  margin-bottom: 5px;

  display: block;
}

.interactive-input,
.interactive-select,
.interactive-textarea {
  width: 100%;

  padding: 12px 15px;

  border-radius: 10px;

  border: 1px solid #ccc;

  transition: all 0.3s ease;
}

.interactive-input:focus,
.interactive-select:focus,
.interactive-textarea:focus {
  border-color: #007bff;

  box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);

  outline: none;

  transform: scale(1.02);
}

/* File Input */

.interactive-file {
  border-radius: 10px;
}

.interactive-file-info {
  font-size: 0.9rem;

  color: #666;
}

/* Button */

.interactive-btn {
  width: 100%;

  padding: 12px;

  border-radius: 12px;

  background: linear-gradient(135deg, #00b4d8, #0077b6);

  color: #fff;

  font-weight: 600;

  border: none;

  transition: all 0.3s ease;
}

.interactive-btn:hover {
  background: linear-gradient(135deg, #0077b6, #023e8a);

  transform: translateY(-2px);
}

/* Placeholder Color */

.interactive-card::placeholder {
  color: #888;
}

.task-list-header {
  background-color: #233c8936;
}

.task-list-edit-btn {
  background: rgba(0, 123, 255, 0.15);

  color: #007bff;

  border-radius: 8px;

  margin-right: 5px;

  transition: 0.3s ease;

  padding: 5px 15px;
}

.task-list-edit-btn:hover {
  background: #007bff;

  color: white;

  transform: scale(1.05);
}

.task-list-delete-btn {
  background: rgba(255, 0, 0, 0.15);

  color: #dc3545;

  border-radius: 8px;

  transition: 0.3s ease;

  padding: 5px 12px;
}

.task-list-delete-btn:hover {
  background: #dc3545;

  color: white;

  transform: scale(1.05);
}

/*------------- Task list Css Main last added ---------- */

.task-list-ll {
  table-layout: fixed;

  background-color: #f8f9fa; /* Light grey/off-white background */

  color: #212529;
}

/* Main Card Styling: Elevated and Clean */

.task-list-ll .task-card {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Soft, elegant shadow */

  border: 1px solid #dee2e6; /* Light border */

  border-radius: 12px; /* Nicely rounded corners */

  background-color: #ffffff;
}

/* Card Header: Clear and Prominent */

.task-list-ll .card-header-styled {
  background-color: #435d7d;

  border-bottom: 2px solid #dee2e6; /* Separator line */

  padding: 1.1rem;
}

.task-list-ll .card-header-styled h4 {
  color: #ffffff; /* Bootstrap Primary Blue */

  text-shadow: 0 0 5px rgba(255, 255, 255, 0.6);

  font-weight: 700;

  letter-spacing: 0.5px;
}

.task-list-ll .table-bordered th,
.table-bordered td {
  /*border: 2px solid #007bff; */

  border: 2px solid #ced1d8;
}

/* Add Task Button: Bold and inviting */

.task-list-ll .btn-primary-styled {
  background-color: #28a745;

  border: none;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;

  font-weight: 600;

  padding: 0.6rem 1.3rem;

  border-radius: 8px;
}

.task-list-ll .btn-primary-styled:hover {
  background-color: #78aa1b; /* Darker blue on hover */

  transform: translateY(-1px); /* Slight lift effect */

  box-shadow: 0 4px 8px rgba(13, 110, 253, 0.2);
}

/*  .task-list-ll .table td {

         max-width: 250px;

        padding: 5px 5px;



        white-space: nowrap;      

  overflow: hidden;       

  text-overflow: ellipsis;

    }



    .task-list-ll .table thead th {

         max-width: 250px;

        border-bottom: 2px solid #adb5bd;

        color: #495057; 

        letter-spacing: 0.5px;

        background-color: #f1f3f5; 

        padding: 1rem 0.75rem;

    }*/

.task-list-ll .table td {
  padding: 5px 5px;

  white-space: nowrap;
}

.task-list-ll .table thead th {
  color: #495057;
  background-color: #f1f3f5;
  white-space: nowrap;
}

/* Optional: make Task Name & Description left-aligned for readability */

.task-list-ll .table th:nth-child(2),
.task-list-ll .table td:nth-child(2),
.task-list-ll .table th:nth-child(3),
.task-list-ll .table td:nth-child(3) {
  text-align: left;
}

/* Table Row Hover: Clean highlight */

.task-list-ll .table-hover tbody tr:hover {
  background-color: #f9f9f9 !important; /* Extremely light hover effect */
}

/* Status Badges: Clear colors and modern pill shape */

.task-list-ll .badge {
  /* font-size: 0.85em; */

  font-size: 13px;

  padding: 5px 8px;

  border-radius: 50px; /* Pill shape */

  font-weight: 700;
}

/* Action Icons: Clean and simple buttons */

.task-list-ll .btn-action-icon {
  font-size: 1.25rem;

  padding: 0.3rem;

  border-radius: 6px;

  transition: background-color 0.2s ease;
}

.task-list-ll .btn-edit {
  color: #ffc107;
  font-size: 20px;
} /* Warning Yellow for Edit */

.task-list-ll .btn-delete {
  color: #dc3545;
  font-size: 20px;
} /* Danger Red for Delete */

.task-list-ll .btn-action-icon:hover {
  background-color: rgba(0, 0, 0, 0.05); /* Subtle grey background on hover */
}

/* Success Message */

.task-list-ll #success-msg {
  background-color: #d1e7dd; /* Light green background */

  color: #0f5132; /* Dark green text */

  border: 1px solid #badbcc;

  border-radius: 8px;
}

/* Text Alignment for readability */

.task-list-ll .text-start-desktop {
  text-align: left !important;
}

/*********************** Edit task file csss  **************************/

/*.edit-task-f{

     font-family: 'Poppins', sans-serif;

}



.edit-task-f {

    max-width: 750px;

    margin: 50px auto;

    background-color: #fff;

    padding: 35px 30px;

    border-radius: 12px;

    box-shadow: 0 6px 20px rgba(0,0,0,0.05);

    transition: all 0.3s ease;

}



.edit-task-f:hover {

    box-shadow: 0 8px 25px rgba(0,0,0,0.08);

}



.edit-task-f h4.text-primary {

    color: #4f46e5;

    font-weight: 600;

    margin-bottom: 25px;

    font-size: 1.5rem;

}



.edit-task-f label {

    font-weight: 500;

    color: #374151;

    margin-bottom: 6px;

    display: block;

}



.edit-task-f .form-control {

    border-radius: 8px;

    border: 1px solid #d1d5db;

    padding: 10px 14px;

    font-size: 0.95rem;

    transition: all 0.25s ease-in-out;

}



.edit-task-f .form-control:focus {

    border-color: #4f46e5;

    box-shadow: 0 0 0 3px rgba(79,70,229,0.15);

}



.edit-task-f textarea.form-control {

    resize: none;

}



.edit-task-f .doc-item {

    background-color: #f9fafb;

    border-radius: 8px;

    border: 1px solid #e5e7eb;

    padding: 10px 12px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    transition: all 0.2s ease;

}



.edit-task-f .doc-item:hover {

    background-color: #eef2ff;

}



.edit-task-f .doc-item span {

    font-size: 0.95rem;

    color: #374151;

}



.edit-task-f .doc-item .btn {

    padding: 4px 10px;

    font-size: 0.85rem;

}



.edit-task-f #documentWrapper input[type="file"] {

    margin-bottom: 8px;

    border-radius: 6px;

}



.edit-task-f #addMoreDoc {

    padding: 5px 14px;

    font-size: 0.85rem;

    align-items: center;

}



.edit-task-f #addMoreDoc i {

    margin-right: 5px;

}



.edit-task-f #addMoreDoc:hover {

    background-color: #4338ca;

    transform: translateY(-1px);

    box-shadow: 0 3px 8px rgba(67,56,202,0.25);

}



.edit-task-f .btn-success, .btn-secondary {

    border-radius: 8px;

    font-weight: 500;

    padding: 8px 18px;

    font-size: 0.95rem;

    transition: all 0.2s ease;

}



.edit-task-f .btn-success {

    background-color: #4f46e5;

    border: none;

    color: #fff;

}



.edit-task-f .btn-success:hover {

    background-color: #4338ca;

    transform: translateY(-2px);

    box-shadow: 0 4px 12px rgba(67,56,202,0.3);

}



.edit-task-f .btn-secondary {

    background-color: #6b7280;

    border: none;

    color: #fff;

}



.edit-task-f .btn-secondary:hover {

    background-color: #4b5563;

    transform: translateY(-2px);

    box-shadow: 0 4px 12px rgba(75,85,99,0.25);

}



.edit-task-f .text-muted.small {

    font-size: 0.8rem;

}



@media (max-width: 576px) {

    .edit-task-f {

        padding: 25px 20px;

        margin: 30px 10px;

    }

}*/

/* === Edit Task Form === */

.edit-task-f {
  font-family: 'Poppins', sans-serif;

  border: 1px solid deepskyblue;

  max-width: 1000px;

  background: #fff;

  padding: 35px 40px;

  border-radius: 16px;

  margin: 40px auto;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);

  transition: all 0.3s ease;
}

.edit-task-f:hover {
  transform: translateY(-4px);

  /*box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);*/

  box-shadow: 0 12px 20px rgb(6 159 194 / 27%);
}

/* === Headings === */

.edit-task-f h4 {
  font-weight: 700;

  color: #007bff;

  margin-bottom: 25px;

  border-bottom: 2px solid #e0e6ed;

  padding-bottom: 10px;
}

/* === Form Labels === */

.edit-task-f label {
  font-weight: 600;

  color: #34495e;

  margin-top: 5px;

  margin-bottom: 8px;

  display: inline-block;

  letter-spacing: 0.4px;

  padding-left: 5px;
}

/* === Inputs & Textareas === */

.edit-task-f .form-control {
  border: 1.8px solid #dce3e8;

  border-radius: 10px;

  padding: 10px 12px;

  transition: all 0.25s ease;
}

.edit-task-f .form-control:focus {
  border-color: #00bcd4;

  box-shadow: 0 0 6px rgba(0, 188, 212, 0.2);
}

/* === Buttons === */

.edit-task-f .btn-success {
  background: #00bcd4;

  margin-left: 7px;

  margin-right: 4px;

  border: 2px solid #00bcd4;

  color: #fff;

  font-weight: 600;

  padding: 5px 10px;

  border-radius: 10px;

  transition: all 0.25s ease;
}

.edit-task-f .btn-danger {
  padding: 5px 10px;

  border: 2px solid #d63535;

  font-weight: 600;

  border-radius: 10px;

  transition: all 0.25s ease;
}

.edit-task-f .btn-success:hover {
  background: #019ab0;

  border-color: #019ab0;
}

.edit-task-f .btn-success:focus {
  background: #019ab0;

  border-color: #019ab0;
}

/* 🔹 Back Button (same as before) */

.edit-task-f .btn-secondary {
  background: #f0f4f7;

  color: #34495e;

  border: 2px solid #dce3e8;

  font-weight: 600;

  padding: 8px 20px;

  border-radius: 10px;

  transition: all 0.25s ease;
}

.edit-task-f .btn-secondary:hover {
  background: #00bcd4;

  color: #fff;

  border-color: #00bcd4;
}

/* === File Upload Sections === */

.edit-task-f .doc-item {
  border: 1px solid #e4e9ee;

  border-radius: 10px;

  background: #fafbfc;

  padding: 12px;

  transition: 0.2s;
}

.edit-task-f .doc-item:hover {
  background: #f5f9fc;
}

/* === Resolution Card === */

.edit-task-f .card {
  border-radius: 14px;

  overflow: hidden;
}

.edit-task-f .card-header {
  background: #00bcd4 !important;

  border-bottom: none;
}

.edit-task-f .card-body {
  background: #f7fafc;
}

.edit-task-f .card-body .border {
  border: 1.8px solid #e0e6ed !important;
}

.edit-task-f .card-body .border:hover {
  border-color: #00bcd4 !important;
}

/* === Small Details === */

.edit-task-f .text-primary {
  color: #00bcd4 !important;
}

.edit-task-f .text-muted {
  color: #6c757d !important;
}

.edit-task-f small.text-success i {
  color: #28a745;
}

/* === Buttons inside document section === */

.edit-task-f .btn-outline-primary {
  border: 1.5px solid #00bcd4;

  color: #00bcd4;
}

.edit-task-f .btn-outline-primary:hover {
  background: #00bcd4;

  color: #fff;
}

.edit-task-f .btn-outline-danger {
  border: 1.5px solid #ff4d4d;

  color: #ff4d4d;
}

.edit-task-f .btn-outline-danger:hover {
  background: #ff4d4d;

  color: #fff;
}

/* === Add More Documents Section === */

.edit-task-f .form-group label.fw-semibold {
  font-weight: 700;

  color: #34495e;

  font-size: 16px;
}

.edit-task-f #documentWrapper {
  background: #f9fcff;

  border: 1.8px solid #e3e9ee;

  border-radius: 12px;

  padding: 16px;

  margin-top: 6px;

  transition: all 0.3s ease;
}

.edit-task-f #documentWrapper:hover {
  border-color: #00bcd4;

  background: #f2fbfd;
}

/* === Single Document Row === */

.edit-task-f .doc-item {
  background: #fff;

  border: 1.5px solid #e1e8ed;

  border-radius: 10px;

  padding: 10px 14px;

  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);

  transition: all 0.3s ease;
}

.edit-task-f .doc-item:hover {
  border-color: #f5f9fc;

  box-shadow: 0 3px 8px rgba(0, 188, 212, 0.15);
}

/* === File Input === */

.edit-task-f .doc-item input[type='file'] {
  border-radius: 8px !important;

  border: 1.5px solid #dce3e8 !important;

  background: #fdfdfd !important;

  padding: 9px 20px !important;

  transition: all 0.25s ease !important;
}

.edit-task-f .doc-item input[type='file']:hover,
.doc-item input[type='file']:focus {
  border-color: #00bcd4 !important;

  box-shadow: 0 0 5px rgba(0, 188, 212, 0.25) !important;
}

/* === Add (+) Button === */

.edit-task-f #addMoreDoc,
.btn.addMore {
  background: #00bcd4;

  padding: 6px 20px !important;

  border: 2px solid #00bcd4;

  color: #fff;

  font-weight: 700;

  border-radius: 8px;

  transition: all 0.25s ease;
}

.edit-task-f #addMoreDoc:hover,
.btn.addMore:hover {
  background: #019ab0;

  border-color: #019ab0;
}

/* === Delete (-) Button (Dynamic Rows) === */

.edit-task-f .btn.removeDoc {
  background: #ff4d4d;

  border: 2px solid #ff4d4d;

  padding: 6px 20px !important;

  color: #fff;

  border-radius: 8px;

  font-weight: 600;

  transition: all 0.25s ease;
}

.edit-task-f .btn.removeDoc:hover {
  background: #e63939;

  border-color: #e63939;
}

/* === Note Text === */

.edit-task-f .text-muted.small {
  font-size: 13px;

  color: #6c757d !important;

  margin-top: 6px;
}

/* === Custom Choose File Button Styling === */

/* For Chrome, Edge, Safari */

.edit-task-f input[type='file']::-webkit-file-upload-button {
  appearance: none;

  -webkit-appearance: none;

  border: none;

  background: linear-gradient(180deg, #00bcd4, #019ab0);

  color: #fff;

  padding: 8px 14px;

  border-radius: 8px;

  font-weight: 600;

  cursor: pointer;

  transition: all 0.2s ease !important;

  margin-right: 10px;
}

.edit-task-f input[type='file']::-webkit-file-upload-button:hover {
  background: linear-gradient(180deg, #01a4b8, #008b9d);

  transform: translateY(-1px) !important;

  box-shadow: 0 3px 6px rgba(0, 188, 212, 0.3);
}

/* For Firefox */

.edit-task-f input[type='file']::file-selector-button {
  border: none;

  background: linear-gradient(180deg, #00bcd4, #019ab0);

  color: #fff;

  padding: 4px 11px;

  border-radius: 8px;

  font-weight: 600;

  cursor: pointer;

  transition: all 0.2s ease;

  margin-right: 10px;
}

.edit-task-f input[type='file']::file-selector-button:hover {
  background: linear-gradient(180deg, #01a4b8, #008b9d);

  transform: translateY(-1px) !important;

  box-shadow: 0 3px 6px rgba(0, 188, 212, 0.3);
}

/* Center Align File Input Text Vertically */

.edit-task-f input[type='file'] {
  height: 44px !important;

  display: flex !important;

  align-items: center !important;

  border-radius: 8px !important;

  background: #fff !important;

  border: 1.5px solid #dce3e8 !important;

  padding: 10px 13px !important;

  transition: border-color 0.3s ease !important;
}

.edit-task-f input[type='file']:hover,
input[type='file']:focus {
  border-color: #00bcd4 !important;

  box-shadow: 0 0 5px rgba(0, 188, 212, 0.25) !important;
}

.pdtTitle {
  font-size: 32px;

  padding-left: 2px;

  color: #2c3e50;

  font-weight: 700;

  margin-bottom: 0;
}

/* === Responsive Adjustments === */

@media (max-width: 768px) {
  .edit-task-f {
    padding: 25px 20px;
  }

  .edit-task-f .btn-success,
  .btn-secondary {
    width: 100%;

    margin-top: 10px;
  }

  .edit-task-f .doc-item {
    flex-direction: column;

    gap: 10px;
  }

  .edit-task-f #addMoreDoc {
    width: 100% !important;
  }
}

/************************ add_task file css *****************************/

/*.add-task-container{

font-family: 'Poppins', sans-serif;

}



    

.add-task-container {

    padding: 20px;

    border-radius: 10px;

    box-shadow: 0 5px 15px rgba(0,0,0,0.1);

    transition: all 0.3s ease;

    border: 0;

}



.add-task-container:hover {

    box-shadow: 0 8px 25px rgba(0,0,0,0.08);

}



.add-task-container h4 {

    color: #4f46e5;

    font-weight: 600;

    margin-bottom: 30px;

    font-size: 1.5rem;

}



.add-task-container label {

    font-weight: 500;

    color: #374151;

    margin-bottom: 6px;

    display: block;

}



.add-task-container .form-control {

    border-radius: 8px;

    border: 1px solid #d1d5db;

    padding: 10px 14px;

    font-size: 0.95rem;

    transition: all 0.25s ease-in-out;

}



.add-task-container .form-control:focus {

    border-color: #4f46e5;

    box-shadow: 0 0 0 3px rgba(79,70,229,0.15);

}



.add-task-container textarea.form-control {

    resize: none;

}



.add-task-container #documentWrapper input[type="file"] {

    margin-bottom: 8px;

    border-radius: 6px;

}



.add-task-container .btn {

    border-radius: 8px;

    font-weight: 500;

    padding: 8px 18px;

    font-size: 0.95rem;

    transition: all 0.2s ease;

}



.add-task-container .btn-success {

    background-color: #4f46e5;

    border: none;

    color: #fff;

}



.add-task-container .btn-success:hover {

    background-color: #4338ca;

    transform: translateY(-2px);

    box-shadow: 0 4px 12px rgba(67,56,202,0.3);

}



.add-task-container .btn-secondary {

    background-color: #6b7280;

    border: none;

    color: #fff;

}



.add-task-container .btn-secondary:hover {

    background-color: #4b5563;

    transform: translateY(-2px);

    box-shadow: 0 4px 12px rgba(75,85,99,0.25);

}



.add-task-container #addMoreDoc {

    padding: 5px 14px;

    font-size: 0.85rem;

}

.doc-item input[type="file"] {

  flex: 1;

}



.doc-item .btn i {

  margin-right: 4px;

}



.add-task-container #addMoreDoc:hover {

    background-color: #4338ca;

}



@media (max-width: 576px) {

    .add-task-container .add-task-container {

        padding: 25px 20px;

        margin: 30px 10px;

    }

}*/

/* ===== Card Styling ===== */

.add-task-container {
  font-family: 'Poppins', sans-serif;

  background: #ffffff;

  border: 1px solid deepskyblue;

  border-radius: 16px;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);

  padding: 35px 40px;

  color: #333;

  transition: all 0.3s ease;
}

.add-task-container:hover {
  transform: translateY(-4px);

  /*box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);*/

  box-shadow: 0 12px 20px rgb(6 159 194 / 27%);
}

.add-task-container h4 {
  text-align: center;

  font-weight: 700;

  color: #2c3e50;

  margin-bottom: 25px;

  letter-spacing: 0.6px;

  position: relative;
}

.add-task-container h4::after {
  content: '';

  display: block;

  width: 60px;

  height: 3px;

  background: #00bcd4;

  margin: 10px auto 0;

  border-radius: 3px;
}

/* ===== Input & Textarea ===== */

.add-task-container .form-control {
  background-color: #f8fafc;

  border: 2px solid #e1e7ec;

  color: #2c3e50;

  border-radius: 10px;

  padding: 10px 14px;

  transition: all 0.3s ease;

  font-size: 15px;
}

.add-task-container .form-control::placeholder {
  color: #a0a7ad;
}

.add-task-container .form-control:focus {
  background-color: #ffffff;

  border-color: #00bcd4;

  box-shadow: 0 0 6px rgba(0, 188, 212, 0.4);
}

/* ===== Labels ===== */

.add-task-container label {
  color: #34495e;

  font-weight: 550;

  margin-bottom: 6px;

  letter-spacing: 0.5px;

  padding-left: 5px;
}

/* ===== Buttons ===== */

.add-task-container .btn {
  border-radius: 8px;

  font-weight: 600;

  transition: all 0.3s ease;
}

.add-task-container .btn-success {
  /*background: linear-gradient(135deg, #28c76f, #20b861);*/

  margin-left: 19px;

  margin-right: 5px;

  background: linear-gradient(135deg, #20b861, #19964f);

  border: none;

  color: #fff;

  font-weight: 600;

  letter-spacing: 0.5px;

  padding: 10px 22px;

  border-radius: 10px;

  transition: all 0.25s ease;

  box-shadow: 0 4px 10px rgba(40, 199, 111, 0.3);
}

.add-task-container .btn-success i {
  margin-right: 6px;

  font-size: 16px;

  vertical-align: middle;
}

/* Hover effect */

.add-task-container .btn-success:hover {
  /*background: linear-gradient(135deg, #20b861, #19964f);*/

  background: linear-gradient(135deg, #28c76f, #20b861);

  box-shadow: 0 6px 16px rgba(32, 184, 97, 0.5);

  transform: translateY(-2px);
}

/* Focus/Active state */

.add-task-container .btn-success:active,
.btn-success:focus {
  background: linear-gradient(135deg, #1a8f4a, #157a3e);

  box-shadow: 0 0 0 4px rgba(40, 199, 111, 0.3);

  outline: none;
}

/* Primary (blue) button */

.add-task-container .btn-primary {
  background: #00bcd4;

  border: none;

  color: #fff;
}

.add-task-container .btn-primary:hover {
  background: #009fb3;

  box-shadow: 0 0 12px rgba(0, 188, 212, 0.4);
}

.add-task-container .btn-primary:focus {
  background: #009fb3 !important;

  box-shadow: 0 0 12px rgba(0, 188, 212, 0.4);
}

/* Back Button (Same Color Scheme — Modern Look) */

.add-task-container .btn-secondary {
  background: #f0f4f7;

  color: #34495e;

  border: 2px solid #dce3e8;

  font-weight: 600;

  letter-spacing: 0.4px;

  padding: 9px 18px;

  border-radius: 10px;

  transition: all 0.25s ease;

  box-shadow: 0 4px 10px rgba(240, 244, 247, 0.4);
}

.add-task-container .btn-secondary i {
  margin-right: 6px;

  font-size: 16px;

  vertical-align: middle;
}

/* Hover effect */

.add-task-container .btn-secondary:hover {
  background: #05a5b9;

  color: #fff;

  border-color: #00bcd4;

  box-shadow: 0 6px 16px rgba(0, 188, 212, 0.4);

  transform: translateY(-2px);
}

/* Focus/Active state */

.add-task-container .btn-secondary:active,
.btn-secondary:focus {
  background: #00a5ba;

  border-color: #00a5ba;

  color: #fff;

  box-shadow: 0 0 0 4px rgba(0, 188, 212, 0.25);

  outline: none;
}

/* ===== File Upload Row ===== */

.add-task-container #documentWrapper .row {
  margin-top: 10px;
}

.add-task-container .doc-item .btn {
  width: 38px;

  height: 38px;

  display: inline-flex;

  align-items: center;

  justify-content: center;
}

.add-task-container .doc-item .btn i {
  font-size: 16px;
}

/* ===== Responsive ===== */

@media (max-width: 768px) {
  .add-task-container {
    padding: 25px;
  }

  .add-task-container .doc-item .col-lg-9,
  .doc-item .col-lg-3 {
    width: 100%;
  }

  .add-task-container .doc-item .btn {
    width: 100%;
  }
}

/* Ensure consistent sizing */

.add-task-container .form-control,
.add-task-container input[type='file'],
.add-task-container textarea {
  box-sizing: border-box;

  width: 100%;

  height: 44px;

  min-height: 44px;

  line-height: 20px;

  padding: 10px 14px;

  font-size: 15px;

  border-radius: 10px;
}

/* For text inputs & textarea */

.add-task-container input[type='text'],
.add-task-container textarea,
.add-task-container .form-control:not([type='file']) {
  background-color: #f8fafc;

  border: 2px solid #e1e7ec;

  color: #2c3e50;
}

/* Make textarea taller but keep same style */

.add-task-container textarea {
  height: auto;

  min-height: 110px;

  padding-top: 12px;

  padding-bottom: 12px;

  resize: vertical;
}

/* Focus style for all controls */

.add-task-container .form-control:focus,
.add-task-container input[type='file']:focus {
  background-color: #ffffff;

  border-color: #00bcd4;

  box-shadow: 0 0 8px rgba(0, 188, 212, 0.25);

  outline: none;
}

/* Custom file input: hide default and style button (Chrome/Edge/Safari) */

.add-task-container input[type='file'] {
  position: relative;

  overflow: hidden;

  color: #2c3e50;

  background-color: #f8fafc;

  border: 2px solid #e1e7ec !important;

  padding: 10px 20px !important;

  height: 44px;
}

/* Webkit browsers file button */

.add-task-container input[type='file']::-webkit-file-upload-button {
  appearance: none;

  -webkit-appearance: none;

  margin-right: 8px;

  border: none;

  background: linear-gradient(180deg, #00bcd4, #00a3b3);

  color: #fff;

  padding: 6px 10px;

  border-radius: 8px;

  font-weight: 600;

  cursor: pointer;

  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease !important;
}

/* Firefox file selector button */

.add-task-container input[type='file']::file-selector-button {
  border: none;

  background: linear-gradient(180deg, #00bcd4, #00a3b3);

  color: #fff;

  padding: 6px 10px;

  border-radius: 8px;

  font-weight: 600;

  cursor: pointer;

  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease !important;
}

/* Hover for file button */

.add-task-container input[type='file']::-webkit-file-upload-button:hover,
.add-task-container input[type='file']::file-selector-button:hover {
  transform: translateY(-2px) !important;

  box-shadow: 0 8px 18px rgba(0, 188, 212, 0.18) !important;
}

/* Ensure file input text (filename) is readable */

.add-task-container input[type='file']::-webkit-file-upload-button,
.add-task-container input[type='file']::file-selector-button {
  font-size: 14px;
}

/* Small screens: make file input & action buttons stack nicely */

@media (max-width: 576px) {
  .add-task-container .doc-item .col-lg-9,
  .doc-item .col-lg-3 {
    width: 100% !important;

    display: block;
  }

  .add-task-container .doc-item .col-lg-3 {
    margin-top: 8px;

    display: flex;

    gap: 8px;

    justify-content: flex-start;
  }

  .add-task-container .doc-item .col-lg-3 .btn {
    width: auto;

    padding: 8px 12px;
  }
}

/* Desktop: ensure file input takes full width of its column and small gap */

.add-task-container .doc-item .col-lg-9 .form-control,
.doc-item .col-lg-9 input[type='file'] {
  width: 100%;
}

/* Make plus & trash buttons consistent size */

.add-task-container .doc-item .col-lg-3 .btn {
  height: 40px;

  min-width: 40px;

  padding: 0 10px;

  border-radius: 8px;

  display: inline-flex;

  align-items: center;

  justify-content: center;
}

/* Slight spacing fix for appended rows */

.add-task-container #documentWrapper .doc-item {
  margin-top: 10px;
}

/* If still some Bootstrap rule interfering, add stronger specificity */

.add-task-container .form-control,
.add-task-container input[type='file'],
.add-task-container textarea {
  -webkit-appearance: none;

  -moz-appearance: none;

  appearance: none;
}

/* Accessibility: focus outline for keyboard users */

.add-task-container .form-control:focus-visible,
.add-task-container input[type='file']:focus-visible {
  outline: 2px solid rgba(0, 188, 212, 0.18);

  outline-offset: 1px;
}
