@import url("https://fonts.googleapis.com/css2?family=Inter&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}
:root {
  --fixed-width: 280px;
  --toggle-width: 115px;
}

body {
  background-color: #fffaeb;
}

.pagination {
    display: grid;
    place-content: center;
  }
  .pagination .paginate-links {
    display: flex;
    flex-flow: row wrap;
    column-gap: 20px;
  }
  .pagination .paginate-links .links {
    list-style: none;
  }
  .pagination .paginate-links .links .link {
    text-decoration: none;
    color: #080808;
    border: 1px solid #c8cfd5;
    font-size: 1.2rem;
    font-weight: 600;
  }
  .pagination .paginate-links .links .link.first {
    background-color: #c8cfd5;
  }
  .pagination .paginate-links .links .link.active {
    background-color: #E7AA14;
    border: 1px solid #E7AA14;
  }
  .pagination .paginate-links .links .link:hover {
    background-color: #E7AA14;
    border: 1px solid #E7AA14;
  }

.paragraph-line-1{
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.paragraph-line-2{
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.paragraph-line-3{
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}


.paragraph-line-4{
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

/* =========================================== */
.header {
  min-height: 115vh;
  width: 100%;
  background-image: url("../images/homeImage.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: relative;
}
nav {
  display: flex;
  padding: 1% 6%;
  justify-content: space-between;
  align-items: center;
}
nav img {
  width: 209px;
  height: 44px;
}
.nav-link {
  flex: 1;
  text-align: right;
}
.nav-link ul li {
  list-style: none;
  display: inline-block;
  padding: 8px 12px;
  position: relative;
}
.nav-link ul li a {
  text-decoration: none;
  font-size: 16px;
}
.nav-link ul li::after {
  content: "";
  width: 0%;
  height: 2px;
  background: #f7941e;
  display: block;
  margin: auto;
  transition: all 0.5s;
}
.nav-link ul li:hover::after {
  width: 100%;
}
.nav-link ul li a {
  color: black;
}
.toggle-content {
  transition: all 1s;
}

@media (max-width: 700px) {
  .header {
    background-size: cover;
  }
  .nav-link ul {
    text-align: center;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .nav-link ul li {
    display: block;
  }
  .nav-link ul li a {
    color: white;
  }
  .nav-link {
    position: absolute;
    background: #000000;
    height: 100vh;
    width: 200px; /* main */
    top: 0;
    right: -200px; /* main */
    text-align: left;
    z-index: 2;
    transition: all 1s;
  }
  nav .fa {
    display: block;
    color: #fffaeb;
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
  }
}
@media (min-width: 700px) {
  nav .fa {
    display: none;
  }
}

/* ===============Content Section===================== */
.form {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 2px 2px 25px 0px rgba(56, 56, 56, 0.2);
  border-radius: 30px;
  background: #fff;
  width: 417px;
  padding: 10px;
  /* height: 448px; */
}
.form h2 {
  color: #242424;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.48px;
  text-align: center;
}
.form form div label {
  color: #555;
  font-size: 14px;
  font-weight: 500;
}
.form form div input {
  height: 40px;
  padding: 11px 18px;
  border-radius: 7px;
  border: 1px solid #adadad;
}
.focus-ring {
  --bs-focus-ring-color: none;
}
.password-field,
.reset-password-field {
  position: relative;
}
.password-field button,
.reset-password-field button {
  position: absolute;
  right: 11px;
  top: 37px;
}
.password-field button i,
.reset-password-field button i {
  color: #656565;
}
@media (max-width: 432px) {
  .form {
    width: 95%;
  }
}
/* =================End of Content Section================== */

/*===========================================*/

/* User Management Section */
.user-form-label {
  color: #555;
  font-size: 16px;
  font-weight: 400;
}
.user-input-field {
  width: 90%;
}
.user-form-section {
  padding: 30px;
  border-radius: 20px;
  background: var(--white, #fff);
  /* drop */
  box-shadow: 2px 4px 21px 0px rgba(0, 0, 0, 0.15);
}
.user-form-section h2 {
  color: #000000;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.32px;
}
.user-add-btn {
  border-radius: 5px;
  background: #f7941e;
}
/* End of  User Management Section */

/* ===============Dashboard Page================== */
.navigation {
  height: 100vh;
  position: fixed;
  background-color: #000000;
  width: 240px;
  border-radius: 0px 60px 0px 0px;
  transition: all 1s;
}

.logo {
  overflow: hidden;
  height: 12vh;
  /* background-color: red; */
}
.nav-section {
  height: 79vh;
  /* background-color: #f7941e; */
}
.logout {
  height: 9vh;
  /* background-color: aqua; */
}

.logo .logo-main-div {
  margin-left: 15px;
  margin-top: 10px;
}
.logo div {
  display: flex;
  align-items: center;
  margin-top: 2px;
}
.logo-div {
  background-color: white;
  height: 55px;
  width: 55px;
  border-radius: 50%;
  margin-right: 4px;

  background-color: #000000;
}
.logo-div img {
  width: 55px;
  height: 40px;
}
.navigation-title {
  color: #fff;
  white-space: nowrap;
  font-size: 28px;
  font-weight: 700;
}
.nav-section div {
  overflow: hidden;
  margin-top: 30px;
  margin-left: 30px;
}
.logout div {
  margin-left: 30px;
}

.user-links,
.nav-links {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 16px;
  display: block;
}

.nav-links i,
.nav-btn i,
.logout-dashboard i {
  font-size: 20px;
}
.nav-btn {
  white-space: nowrap;
  overflow: hidden;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}

.user-links {
  max-height: 0px;
  transition: all 0.5s;
}
.user-managements,
.reports-links {
  height: 100px !important;
}
.nav-btn:hover {
  color: white;
}
.user-links:hover {
  color: white;
}
.nav-links,
.nav-btn {
  margin-bottom: 30px;
}

.user-links a {
  margin-bottom: 10px;
  text-decoration: none;
  display: block;
  white-space: nowrap;
}
.nav-links:link,
.user-links a:link,
.logout-dashboard:link {
  color: rgba(255, 255, 255, 0.8);
}

.nav-links:visited,
.user-links a:visited,
.logout-dashboard:visited {
  font-weight: 700;
  color: white;
}

.nav-links:hover,
.user-links a:hover,
.logout-dashboard:hover {
  font-weight: 700;

  color: white;
}

.nav-links:active,
.user-links a:active,
.logout-dashboard:active {
  font-weight: 700;

  color: white;
}
.nav-arrow {
  transition: all 1s;
}
.logout-dashboard {
  font-size: 16px;
}

/* header section */
.dashboard-header {
  position: fixed;
  left: 280px;
  padding-top: 10px;
  height: 11vh;
  overflow: visible;
  width: calc(100% - var(--fixed-width));
  z-index: 100;
  background-color: rgb(255, 250, 235);
  transition: all 1s;
}
.toggle-navigation {
  font-size: 25px;
  color: #E7AA14;
}
.header-title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: #555;
}
.current-date {
  overflow: visible;
  background-color: white;
  box-shadow: 0px 2px 25px 0px rgba(56, 56, 56, 0.1);
}
.notification {
  position: relative;
  padding: 10px;
}
.notification i {
  font-size: 27px;
  color: #000000;
}
.notification p {
  position: absolute;
  top: 6px;
  overflow: visible;
  right: 4px;
  background-color: red;
  padding: 8px;
  clip-path: circle();
}
.notification p span {
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
}
.admin-image {
  /* height: 50px; */
  width: 50px;
  clip-path: circle();
}
.nav-links {
  display: flex;
}
.admin-details p {
  font-size: 14px;
}
@media (max-width: 1200px) {
  .welcome-div {
    display: none;
  }
}
@media (max-width: 997px) {
  .dashboard-title {
    display: none;
  }
}
@media (max-width: 849px) {
  .current-date-div {
    display: none;
  }
}

/* end of header section */

/* content section */
.content {
  /* position: relative; */
  margin-left: 280px;
  margin-top: 17vh;
  width: calc(100% - var(--fixed-width));
  transition: all 1s;
}
.content-section {
  width: 327px;
  border-radius: 20px;
  background: #f5fafc;
  padding: 30px 50px;
}
.content-section-icon {
  width: 55px;
  position: relative;
  height: 55px;
  border-radius: 50%;
  background: linear-gradient(65deg, #018db1 12.48%, #4ccbe9 87.34%);
}
.content-section-icon i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 27px;
  color: white;
}
.content-section div p {
  color: #555;
  font-size: 16px;
  font-weight: 600;
}
.total-count {
  font-size: 25px;
}
@media (max-width: 1500px) {
  .content-section {
    width: 100%;
  }
}
@media (min-width: 1200px) and (max-width: 1333px) {
  .content-section div p {
    font-size: 10px;
  }
}
@media (max-width: 1333px) {
  .content-section div p {
    font-size: 14px;
  }
}
/* end of content section */
/* ================End of Dashboard Page============ */

/* ============User Management Page=================== */
.add-user {
  border-radius: 20px;
  background: var(--white, #fff);
  box-shadow: 2px 4px 21px 0px rgba(0, 0, 0, 0.15);
  padding: 20px;
  margin-right: 20px;
}
.add-user-btn {
  width: 160px;
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #f7941e;
  background: #f7941e;
  color: white;
  transition: all 1s;
}
.reset-btn,
.add-user-btn:hover {
  background-color: transparent;
  border-radius: 5px;
  color: black;
  border: 1px solid #9e9e9e;
  transition: all 0.5s;
}
.reset-btn:hover {
  color: #f5fafc;
  border: 1px solid rgb(254, 124, 124);
  background-color: rgb(254, 124, 124);
}
.form-div {
  row-gap: 30px;
}

/* =============End of User Management Page=========== */

/* ===============myusers page====================== */
.user-list {
  border-radius: 20px;
  background: var(--white, #fff);
  box-shadow: 2px 4px 21px 0px rgba(0, 0, 0, 0.15);
  padding: 20px;
  margin-right: 20px;
  overflow-x: auto;
}

.user-table thead {
  border-top: 1px solid rgba(0, 136, 171, 0.15);

  border-bottom: 1px solid rgba(0, 136, 171, 0.15);
}
.user-table thead tr th {
  white-space: nowrap;
  background: rgba(0, 136, 171, 0.06);
}
.user-table tbody tr td {
  white-space: nowrap;
  text-align: justify;
}
/* ===============end of myusers page=============== */

/* ============bulk sms page======================== */
.message-details {
  border-radius: 10px;
  border: 1px solid var(--KMC-yellow, #f7941e);
  background: #fef8ef;
}
/* ============end of bulk sms page================ */

/* ============List Template  page================ */
.template-search {
  border-radius: 5px;
  border: 1px solid var(--text-light, #9e9e9e);
  width: 241px;
  height: 40px;
  padding-left: 10px;
}
.template-search:focus {
  outline: none;
}
.focus-ring {
  --bs-focus-ring-color: none;
}
/* ============End of List Template  page================ */

/* =============Compose sms page======================== */
.select-group {
  height: 47px;
  border-radius: 5px;
  border: 1px solid #9e9e9e;
}
.view-contacts-btn {
  width: 158px;
  height: 47px;
  padding: 10px;
  border-radius: 5px;
  background: #000000;
}
.form-control:disabled {
  background-color: white;
}
/* =============End of Compose sms page================== */

/* ===========list-templates page========================= */
#create-message {
  display: none;
}
/* ===========End of list-templates page========================= */

/* ============sms histories page================================ */
.view-msg {
  border-radius: 5px;
  background: #000000;
}
.contact-list td {
  vertical-align: middle;
}
/* ===========End of SMS histories page========================== */

/* ============sms reports page=============================== */
.get_date {
  width: 113px;
  height: 47px;
  padding: 10px;
  border-radius: 5px;
  background: var(--KMC-blue, #000000);
}
.sms_reports {
  border-radius: 10px;
  background: var(--white, #fff);
  width: 300px;
  box-shadow: 1px 1px 4px 0px rgba(0, 0, 0, 0.15);
}
.sms_reports h2 {
  background: linear-gradient(65deg, #018db1 12.48%, #4ccbe9 87.34%);
  color: white;
  font-size: 16px;
  font-weight: 600;
}
.sms_reports p {
  font-size: 16px;
  font-weight: 400;
  padding-left: 20px;
}
@media (max-width: 1058px) {
  .sms_reports {
    margin: auto;
  }
}
/* ============end of sms reports page======================= */
/* ============Navigation Details========================== */

.navigation-details {
  transition: all 0s;
  position: fixed;
  background-color: rgb(0, 136, 171);
  left: 62px;
  border-radius: 3px;
  height: 154px;
  width: 178px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.navigation-details a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 16px;
}

@media (max-width: 550px) {
  .form-div {
    row-gap: 4px;
  }
}

.nav-details {
  top: 19vh;
}
.sms-links {
  top: 32vh;
}
.contact-links {
  top: 45vh;
}
.reports-links {
  top: 49vh;
}
.contact-links {
  top: 38vh;
}
/* ===========end of Navigation Details=================== */

.dash-width {
  width: 91%;
}
/* ================================ */
.toggle-small-device,
.close-toggle-btn button {
  display: none;
}

@media (max-width: 830px) {
  .navigation {
    width: 0px;
    /* display: none; */
    z-index: 100;
    border-radius: 0px;
  }
  .toggle-small-device {
    display: flex;
    position: absolute;
    left: 10px;
    align-items: center;
    column-gap: 25px;
  }
  .dashboard-header {
    width: 100%;
    left: 0px;
    z-index: 99;
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.09);
  }
  .toggle-navigation {
    display: none;
  }
  .toggle-nav-mobile {
    position: relative;
    background-color: transparent;
    top: 3px;
    border: none;
    color: #000000;
  }
  .kmc-logo img {
    width: 165px;
  }
  .content {
    width: 100%;
    margin-left: 0px;
  }
  .add-user {
    margin-right: 0px;
  }
  .logo-div {
    height: 50px;
    width: 50px;
  }
  .logo-div img {
    width: 55px;
    height: 29px;
  }
  .navigation-title {
    font-size: 22px;
  }
  .close-toggle-btn button {
    display: block;
    border: none;
    background-color: transparent;
    font-size: 30px;
    color: white;
    position: absolute;
    top: 25px;
    right: 10px;
  }
  .user-list {
    margin-right: 0px;
  }
  .logout {
    position: absolute;
    top: 79vh;
  }
}
@media (max-width: 454px) {
  .kmc-logo {
    display: none;
  }
}

.sms-links,
.contact-links,
.reports-links {
  margin-top: -17px !important;
  margin-bottom: 20px;
}
.nav-details {
  margin-bottom: 0px;
}

@media (max-width: 1000px) {
  .logout {
    position: absolute;
    top: 79vh;
  }
}
