@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
/* 
**
* ============================================== Resets ==============================================
**
*/
html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  font-family: "Montserrat", sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
}
input,
button,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}
body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

main {
  flex-grow: 1;
  padding-block: 1.375rem;
  padding-inline: auto;
  background: linear-gradient(180deg, #7ebcff 0%, #ffffff 63.56%);
  
  
  
  
  
  
  
  

  @media (min-width: 992px) {
    padding-inline: 3.438rem;
  }
}

.footer {
  flex-shrink: 0;
  background: linear-gradient(0deg, #052b54 0%, #0b5fba 100%);
}

.footer p,
.footer a {
  font-size: 1.5rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0;
}

.footer a:hover {
  text-decoration: underline !important;
}
/* 
**
* ============================================== Utilities ==============================================
**
*/

.primary-text {
  color: #041d42 !important;
}
.primary-bg {
  background-color: #041d42 !important;
}
.primary-table thead th {
  background-color: #041d42 !important;
  color: #fff !important;
}
.primary-table-light thead th {
  background-color: #9ec5ff !important;
}
.primary-btn {
  background-color: #041d42 !important;
  color: #fff !important;
  &:hover,
  &:focus {
    opacity: 0.85;
  }
}
.primary-btn-light {
  background-color: #10559c !important;
  color: #fff !important;
  &:hover,
  &:focus {
    opacity: 0.85;
  }
}
.underline-decoration:hover {
  text-decoration: underline !important;
}
.btn-shadow,
.btn-shadow:hover {
  border-width: 1px;
  border-color: #fff;
  border-style: solid;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 1;
  box-shadow: 0px 4px 4px 0px #00000040;
}
.btn-shadow:hover {
  opacity: 0.85;
}

/* 
**
* ============================================== Header ==============================================
**
*/

.navbar-top {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  background-color: #18345e;
}
.navbar-bottom {
  background-color: #1a3b6c;
}

.avatar {
  width: auto;
  height: auto;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-right: 10px;
  background-color: #e5e5e5;
}

.user-name {
  font-size: 1.5rem;
}

.user-actions a {
  display: block;
  color: #b6cade;
  font-size: 0.95rem;
  text-decoration: underline;
}
.navbar-toggler {
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23fff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-bottom .nav-link {
  color: #fff !important;

  @media (min-width: 1440px) {
    font-size: 1.563rem;
  }
}
.navbar-bottom .navbar-nav {
  gap: 1rem;
}

.navbar-bottom .nav-link.active,
.navbar-bottom .nav-link:focus,
.navbar-bottom .nav-link:hover {
  color: #009dff !important;
}
.navbar-bottom .dropdown-menu {
  padding-block: 0;
  border-radius: 0;
}
.navbar-bottom .dropdown-menu .dropdown-item {
  padding-block: 0.5rem;
}
.navbar-bottom .dropdown-menu .dropdown-item:hover,
.navbar-bottom .dropdown-menu .dropdown-item:focus {
  background-color: #1a3b6c;
  color: #fff;
  text-decoration: none;
}

.page-title {
  text-decoration: underline;
  color: #041d42;
  font-size: 1rem;
  font-size: clamp(1rem, 0.8874rem + 0.563vw, 1.563rem);
  font-weight: 600;
  margin-bottom: 0;
}
/* 
**
* ============================================== Dashboard ==============================================
**
*/
.dashboard .card {
  box-shadow: 0px 4px 4px 0px #00000040;
}

/*--------------- Task Start------------------ */
.header-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.header-section h4 {
  color: #003366;
  font-weight: 600;
  border-bottom: 1.5px solid #041d42;
}

/* Input field section */
.input-field label {
  font-weight: 600;
  margin-right: 10px;
  font-size: 16px;
  color: #041d42;
}

.input-field input {
  width: 250px;
  padding: 6px 10px;
  border: 1px solid #041d42;
  border-radius: 4px;
  outline: none;
}
.search-box::placeholder {
  font-weight: 700;
  font-size: 14px;
  color: #999999;
}

/* Custom Table Styling */
.serial-number {
  width: 70px;
}
.action {
  width: 250px;
  border-right: none !important;
}
.custom-table {
  width: 100%;
  border-collapse: collapse;
}

.custom-table thead {
  background: #9ec5ff;
}

.custom-table th {
  border-bottom: 1px solid #041d42;
  border-right: 1px solid #041d42;
  height: 37px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #000000;
}
.custom-table td {
  border-right: 1px solid #041d42;
  height: 37px;
  text-align: center;
  font-weight: 400;
  font-size: 16px;
}

.custom-table th {
  font-weight: 600;
  color: #000000;
}

.custom-table tbody tr {
  background-color: #fff;
}

.custom-table tbody tr:hover {
  background-color: #eef7ff;
  transition: 0.2s;
}

/* Action Links */
.action-links {
  border-right: none !important;
}
.action-links a {
  margin-right: 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.action-links .view {
  color: #035603;
}

.action-links .edit {
  color: #041d42;
}

.action-links .delete {
  color: #cd0707;
}

.action-links a:hover {
  text-decoration: underline;
}
.line-one {
  border-bottom: 1px solid #041d42;
  margin-top: 50px;
}
.line-two {
  border-bottom: 1px solid #041d42;
  margin-top: 5px;
}

@media (max-width: 768px) {
  .custom-table {
    font-size: 13px;
  }
  .input-field input {
    width: 100%;
    margin-top: 8px;
  }
}
/* task list */
.custom-select {
  position: relative;
  width: 264px;
}

.custom-select select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  padding: 6px 30px 6px 10px;
  border: 1px solid #041d42;
  border-radius: 6px;
  background-color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s;
}

.input-field textarea,
.input-field input {
  border: 1px solid #041d42 !important;
}

.custom-select select:focus {
  border-color: #007bff;
  box-shadow: 0 0 4px rgba(0, 123, 255, 0.4);
  outline: none;
}

.custom-select::after {
  content: "▾";
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  font-size: 14px;
  color: #333;
  pointer-events: none;
}
/* task master */
.upload-section {
  padding: 20px 10px;
}
.upload-section i {
  color: #041d42;
}
.upload-item {
  width: 74px;
  height: 74px;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0px 4px 4px 0px #00000040;
}
.upload-item:hover {
  background-color: #f0f6ff;
}

.upload-thumb {
  position: relative;
  width: 74px;
  height: 74px;
  overflow: visible;
  border-radius: 5px;
  box-shadow: 0px 4px 4px 0px #00000040;
}
.upload-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.remove-btn {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #a51010;
  color: white;
  border-radius: 50%;
  font-size: 24px;
  width: 20px;
  height: 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.overlay {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.overlay-text {
  position: absolute;
  font-weight: bold;
  font-size: 18px;
}
.upload-thumb.overlay img {
  filter: brightness(0.3);
}
.upload-item {
  width: 70px;
  height: 70px;
  background-color: #fff;
  color: #041d42;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.upload-item:hover {
  background-color: #f0f6ff;
}

/* make input full clickable area */
.upload-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0; /* invisible */
  cursor: pointer;
  z-index: 2;
}

/* ensure + icon stays visible above input */
.upload-item i {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 768px) {
  .upload-item {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 768px) {
  .upload-item,
  .upload-thumb {
    width: 60px;
    height: 60px;
  }
}

/*--------------- Task end------------------ */
/* 
**
* ============================================== Meeting ==============================================
**
*/

.vertical-bordered-table {
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #041d42;
}

.vertical-bordered-table th,
.vertical-bordered-table td {
  border-right: 1px solid #041d42;
}

.vertical-bordered-table th {
  background: #cae1fa;
  border-bottom: 1px solid #041d42;
}

.vertical-bordered-table td:last-child,
.vertical-bordered-table th:last-child {
  border-right: none;
}

.vertical-bordered-table tr:last-child td {
  border-bottom: none;
}

.blue-txt {
  color: #052b54;
  font-weight: 700;
}
.login-form {
  background: linear-gradient(0deg, #052b54 0%, #0b5fba 100%);
  backdrop-filter: blur(24px);
  box-shadow: 0px 4px 4px 0px #00000057;
  border-radius: 32px;
  position: relative;
  z-index: 1;
}
.login-form .form-label {
  color: #fff;
  font-weight: 400;
  font-size: 16px;
}
.login-form .form-control {
  border-radius: 6px;
  color: #18345e;
  font-weight: 500;
  font-size: 16px;
  padding: 0.75rem;
  border: none;
}
.login-form .form-control:focus {
  box-shadow: none;
}
.login-form .form-icon {
  position: relative;
  display: flex;
  align-items: center;
}
.login-form .form-icon .icon {
  font-size: 22px;
  position: absolute;
  right: 10px;
  color: #18345e;
}
.login-form .form-icon .form-control {
  padding: 0.75rem 2.75rem 0.75rem 0.75rem;
}
.login-form .form-icon button.icon {
  background: none;
  border: none;
  outline: 0;
  padding: 0;
  display: flex;
}
.login-btn {
  background: #10559c;
  border-radius: 10px;
  border: 1px solid #ffffff;
  box-shadow: 0px 1px 2px 0px #0000000f, 0px 1px 3px 0px #0000001a;
  font-size: 22px;
  font-weight: 700;
  padding: 0.5rem;
  color: #fff;
}
.login-main {
  position: relative;
}
.login-main .img1 {
  position: absolute;
  left: 0;
  bottom: 0;
}
.login-main .img2 {
  position: absolute;
  right: 0;
  bottom: 0;
}
@media (max-width: 1199px) {
  .login-main .img1,
  .login-main .img2 {
    width: 200px;
  }
}
@media (max-width: 991px) {
  .login-main .img1,
  .login-main .img2 {
    width: 155px;
  }
}
@media (max-width: 575px) {
  .login-main .img1,
  .login-main .img2 {
    position: unset;
  }
}

/* pushpendra css start */
.user-rights-main {
  padding: 30px 60px;
  background: linear-gradient(180deg, #aed5ff 0%, #ffffff 63.56%);
}
.user-rights-main .main-heading {
  font-size: 25px;
  line-height: 36px;
  letter-spacing: 0%;
  text-decoration: underline;
  text-decoration-thickness: 0%;
  color: #041d42;
}
.user-rights-main .user-select-dropdown {
  min-width: 200px;
}
.user-rights-main .hr-sec {
  margin: 15px 0px;
}
.user-rights-main .horizontal-separator {
  color: #041d42;
  margin: 2px 0px;
  padding: 0;
}
.user-rights-main .custom-table-user-master {
  max-height: 400px;
  overflow: auto;
  border: 1px solid #041d42;
  border-radius: 4px;
}
.user-rights-main .custom-table-user-master table {
  width: 100%;
  text-align: center;
  border-collapse: separate;
  border-spacing: 0;
}
.user-rights-main .custom-table-user-master table thead {
  position: sticky;
  top: 0;
  z-index: 99;
}
.user-rights-main .custom-table-user-master table thead tr th,
tr td {
  padding: 5px 10px;
}
.user-rights-main .custom-table-user-master table thead tr th {
  background-color: #9ec5ff;
  border-bottom: 1px solid #041d42;
}
.user-rights-main .custom-table-user-master table thead tr th:first-child {
  border-top-left-radius: 4px;
}
.user-rights-main .custom-table-user-master table thead tr th:last-child {
  border-top-right-radius: 4px;
}
.user-rights-main .custom-table-user-master table tr td:first-child {
  border-bottom-left-radius: 4px;
}
.user-rights-main .custom-table-user-master table tr td:last-child {
  border-bottom-right-radius: 4px;
}
.user-rights-main .custom-table-user-master table thead tr th:not(:last-child) {
  border-right: 1px solid #041d42;
}
.user-rights-main .custom-table-user-master table tr td:not(:last-child) {
  /* border-left: 1px solid #041d42; */
  border-right: 1px solid #041d42;
}
.user-rights-main .custom-table-user-master table tbody {
  background-color: #fff;
}
.user-rights-main .user-rights {
  display: flex;
  justify-content: space-between;
}
.form-check .form-check-input {
  border-color: #000 !important;
}
.user-rights .form-check {
  margin-right: 30px;
}
.user-rights-main label {
  color: #041d42;
  font-weight: 600;
}
.button-sec {
  display: flex;
  justify-content: space-between;
}
.button-sec button {
  font-size: 25px;
  /* line-height: 100%; */
  font-weight: 700;
  letter-spacing: 0%;
  background-color: #10559c;
  box-shadow: 0px 3px 2px 0px #0000000f;
  box-shadow: 0px 3px 3px 0px #747373;
  border-radius: 10px;
  min-width: 264px;
}
.button-sec button:hover {
  background-color: #1967b6;
}
.user-action {
  display: flex;
  justify-content: space-evenly;
  min-width: max-content;
}
.user-action a:not(:last-child) {
  margin-right: 10px;
}
.user-action .text-user-edit-right {
  color: #035603;
  text-decoration: underline;
  font-size: 12px;
  line-height: 15px;
  font-weight: 700;
  min-width: fit-content;
}
.user-action .text-user-eidt {
  color: #041d42;
  text-decoration: underline;
  font-size: 12px;
  line-height: 15px;
  font-weight: 700;
  min-width: fit-content;
}
.user-action .text-user-delete {
  color: #cd0707;
  text-decoration: underline;
  font-size: 12px;
  line-height: 15px;
  font-weight: 700;
  min-width: fit-content;
}
.btn-user-role {
  background-color: #10559c !important;
}
.upload-container {
  text-align: center;
}
.upload-container h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #0a1b4f;
}
.upload-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  max-width: 350px;
  margin: auto;
}
.upload-box {
  width: 70px;
  height: 70px;
  border: 2px solid #dcdcdc;
  border-radius: 8px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}
.upload-box:hover {
  transform: scale(1.05);
}
.upload-box span {
  font-size: 40px;
  color: #0a1b4f;
  line-height: 0;
}
.image-preview {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}
.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.upload-container .upload-wrapper .image-preview .remove-btn {
  position: absolute;
  top: 0px;
  right: 0px;
  background-color: red;
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.upload-container .upload-wrapper input[type="file"] {
  display: none;
}
.gallery-folders-sec .gallery-folders-item {
  text-align: center;
}
.gallery-folders-sec .gallery-folders-item .gallery-folders-item-icon {
  font-size: 100px;
  color: #9898cf;
  padding: 30px;
  margin-top: 25px;
  border-radius: 20px;
  background-color: grey;
  background: linear-gradient(to bottom, grey, #d9d9d9);
}
.gallery-folders-sec .gallery-folders-item h5 {
  font-size: 16px;
  font-weight: 600;
  color: #041d42;
  margin-top: 10px;
}
.label-min-width {
  min-width: 170px;
}
.modal-content {
  background: linear-gradient(180deg, #aed5ff 0%, #ffffff 63.56%) !important;
}
/* gallery css */
.gallery-container {
  padding: 40px 60px;
}
.gallery-section h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #0d2240;
  font-weight: 600;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}
.gallery-grid-video {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
}
.gallery-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  padding: 10px;
  text-align: center;
  transition: transform 0.2s;
}
.gallery-card:hover {
  transform: scale(1.03);
}
.gallery-image,
.gallery-video,
.gallery-pdf {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 10px;
}
.gallery-pdf {
  object-fit: contain;
}
.gallery-name {
  margin-top: 8px;
  margin-bottom: 0px;
  font-size: 14px;
  color: #0d2240;
  font-weight: 500;
}
.delete-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #b30000;
  color: white;
  border-radius: 50%;
  padding: 4px 7px;
  cursor: pointer;
  z-index: 99;
  font-size: 14px;
  line-height: 14px;
}
.image-preview-modal {
  display: none;
  position: fixed;
  z-index: 1050;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  text-align: center;
}
.image-preview-modal .preview-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}
.image-preview-modal #caption {
  margin-top: 15px;
  color: #f1f1f1;
  font-size: 18px;
}
.image-preview-modal .close-preview {
  position: absolute;
  top: 25px;
  right: 40px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.image-preview-modal .close-preview:hover {
  color: #bbb;
}
.pdf-preview-modal {
  display: none; 
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.9);
  text-align: center;
}
.pdf-preview-modal .pdf-frame {
  margin-top: 50px;
  width: 90%;
  height: 85vh;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}
.pdf-preview-modal .close-preview {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.pdf-preview-modal .close-preview:hover {
  color: #bbb;
}

/* responsive */
@media (max-width: 767px) {
  .user-rights-main {
    padding: 15px 10px;
  }
  .button-sec button {
    min-width: 100px;
    font-size: 13px;
  }
}
@media (max-width: 575px) {
  .button-sec button {
    min-width: 75px;
  }
  .gallery-folders-sec .gallery-folders-item .gallery-folders-item-icon {
    font-size: 75px;
    padding: 20px;
  }
}

/* pushpendra css end */
