﻿:root {
  --text-dark: hsl(240, 54%, 15%);
  --text-light: hsl(242, 18%, 64%);
  --primary: hsl(222, 98%, 60%);
  --primary-lighter: hsl(240, 33%, 86%);
  --primary-gradient: linear-gradient(to right, #3671fd, #6f31ff);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a,
button {
  all: unset;
  cursor: pointer;
}

img {
  width: 100%;
  height: 100%;
  display: block;
}

body {
  font-family: 'Segoe UI';
  min-height: 100vh;
  background-color: #f5f9ff;
  display: block;
  margin: 0;
  overflow: hidden;
}

.container {
  display: flex;
  height: 100vh;
  max-width: 100%;
  overflow: hidden;
}

.image-section {
  flex: 1; /* Take up the available space */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* Hide any overflowing content */
}

.form-section {
  flex: 1;
  width: 50%;
  position: relative;
  overflow: hidden; /* Enable scrolling inside the form section */
}


.image-wrapper img {
  width: 100%; /* Width to 100% */
  height: auto; /* Maintain aspect ratio */
  max-width: none; /* Remove max-width if it's set elsewhere */
  max-height: none;
  object-fit: fill; /* Remove max-height if it's set elsewhere */
}


.form-wrapper {
  padding: 2rem 1rem; /* Adjust padding as needed */
  max-width: 75%; /* Adjust the max-width for the form */
  margin: 0 auto;
}

.logo-container {
  width: 9rem;
  height: 7rem;
  margin-bottom: 2.2rem;
}

.form-wrapper > h2 {
  margin-bottom: 2.1rem;
}

.form-wrapper > p {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.input-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
  background-color: #f5f9ff;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

  .form-group label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #16164d;
  }

  .form-group input {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    padding: 0.5rem;
    border: 1.5px solid var(--primary-lighter);
    border-radius: 0.3rem;
    background-color: #F5F5F5;
  }

    .form-group input:focus {
      border: 2px solid #16164d;
    }

.remember-forgot {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.remember-me {
  display: grid;
  grid-template-columns: 1rem auto;
  gap: 0.6rem;
}

input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  place-content: center;
}

.remember-me input {
  width: 1rem;
  height: 1rem;
  margin-right: 0.3rem;
  border: 1px solid var(--text-light);
  border-radius: 2px;
}

input[type="checkbox"]::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  background-color: white;
  transform: scale(0);
  transform-origin: bottom left;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em var(--form-control-color);
}

input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.remember-me input:checked {
  background: #0C1A34;
}

.remember-me label {
  color: var(--text-dark);
  user-select: none;
}

.remember-forgot a {
  color: var(--primary);
}

  .remember-forgot a:hover {
    text-decoration: underline;
    text-decoration-color: var(--primary);
  }

.login-btn,
.google-signin {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  padding: 0.5rem 0;
  border-radius: 0.5rem;
}

.login-btn {
  color: white;
  background-color: #0C1A34;
}

  .login-btn:hover {
    opacity: 0.9;
  }

.or-divider {
  width: 100%;
  font-weight: 600;
  color: var(--text-light);
  margin-block: 1.5rem;
  text-align: center;
  position: relative;
}

  .or-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    height: 1px;
    width: 45%;
    background-color: var(--text-light);
  }

  .or-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    height: 1px;
    width: 45%;
    background-color: var(--text-light);
  }

.google-signin {
  border: 2px solid var(--primary-lighter);
}

  .google-signin object {
    width: 1.5rem;
    height: 1.5rem;
  }

@media screen and (max-width: 50rem) {
  .container {
    max-width: 80%;
    flex-direction: column;
  }

  .image-section,
  .form-section {
    width: 100%;
  }

  .image-section {
    height: 25vh;
  }

  .content-container {
    inset: 0;
    transform: translate(0, 0);
    padding: 1rem 1.6rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

    .content-container h1 {
      font-size: 1.4rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
    }

    .content-container p {
      font-size: 0.75rem;
    }

  .form-section {
    flex: 1;
    padding: 1rem 1rem;
  }

  .form-wrapper > h2 {
    font-size: 1.25rem;
  }

  .form-wrapper > p {
    margin-bottom: 1rem;
  }

  .form-wrapper button {
    font-size: 0.875rem;
  }

  .or-divider {
    font-weight: 500;
    margin-block: 0.6rem;
  }
}

@media screen and (max-width: 36.25rem) {
  .container {
    max-width: 100%;
  }
}

.center-div {
  position: absolute;
  left: 50%;
  top: 50%;
}

.loader {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background: #0020ff36;
  z-index: 9999;
  text-align: center;
}

.spinner {
  position: fixed;
  z-index: 9999;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background-color: Black;
  filter: alpha(opacity=60);
  opacity: 0.6;
  -moz-opacity: 0.8;
}

.inner-div {
  border-radius: 15px;
  margin: auto;
  padding: 2%;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


/* Custom css */
.vs-collapse {
  visibility: collapse !important;
}



.center-div {
  /*width: 300px;
	height: 300px;*/
  position: absolute;
  left: 50%;
  top: 50%;
  /*margin-left: -150px;
    margin-top: -150px;*/
}



.inner-div {
  /*background-color: white;*/
  border-radius: 15px;
  margin: auto;
  padding: 2%;
  /*width: 150px;*/
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


.tab-active {
  border-bottom: 3px solid dodgerblue;
}

  .tab-active > .active {
    color: dodgerblue !important;
    font-weight: bold;
  }


.r0 {
  right: 0px !important;
}

.r-10 {
  right: -10px !important;
}

.pointer-events-none {
  pointer-events: none;
}


.table > tbody > tr > td:not(.no-ellipsis) {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  outline: 0;
}

.table > thead > tr > th:not(.no-ellipsis) {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  outline: 0;
}

.table > tbody > tr > td.no-ellipsis {
  /* white-space: normal !important; */
  overflow: visible;
  /* text-overflow: ellipsis;*/
}


table.dataTable {
  margin: 0 auto;
  width: 100%;
  clear: both;
  /* margin: 0 auto; */
  clear: both;
  word-wrap: break-word;
  table-layout: fixed !important;
}

  table.dataTable thead th .sorting_disabled {
    background: none;
  }


.option-group {
  font-weight: bolder;
  color: #212529 !important;
}

.option-child {
  padding-left: 15px;
}

.color-white {
  color: rgba(255,255,255,.8) !important;
}

.color-dark-primary {
  background-color: #343a40 !important;
}

.bg-transparent {
  background-color: transparent !important;
}

.fa-80-per {
  font-size: 80% !important;
}

.b-0 {
  border: 0px !important;
}

.bb-1 {
  border-bottom: 1px solid black;
}

.bt-1 {
  border-top: 1px solid black;
}


.ft-color-dodger-blue {
  color: #007bff !important;
}

.ft-color-red {
  color: red !important;
}

.bb-double {
  border-bottom-style: double;
}


.ui-unstyled {
  list-style: none !important;
}

.link-style {
  color: #34941A;
  text-decoration: none;
  background-color: transparent;
}

  .link-style:hover {
    color: #4CBB17;
  }

.disclaimer-style {
  color: #ff0000;
  margin-top: 10px;
}

/* custom.css */

/* Set the main sidebar background color to #0C1A34 */
.sidebar-dark-primary {
  background-color: #0C1A34;
}

  /* Set the text color to white for links inside the sidebar */
  .sidebar-dark-primary .nav-sidebar .nav-item .nav-link {
    color: white;
  }

  /* Set the background color to white and text color to #0C1A34 for active links */
  .sidebar-dark-primary .nav-sidebar .nav-item.active .nav-link {
    background-color: white;
    color: #0C1A34;
  }

    /* Set the color of the SVG icons inside active links to #0C1A34 */
    .sidebar-dark-primary .nav-sidebar .nav-item.active .nav-link img.nav-icon {
      fill: #0C1A34; /* This assumes the SVG icon is monochromatic; use "color" for colored SVGs. */
    }

.content {
  width: 1018px;
  background-color: white;
  padding-top: 33px;
  height: 900px;
}

.content-container {
  background-color: white;
  padding: 20px; /* Adjust padding as needed */
  border: 1px solid #ccc; /* Optional: Add a border */
  border-radius: 5px; /* Optional: Add rounded corners */
}

.small-box {
  background-color: #F5F5F5;
}

.container-fluid {
  margin-top: 0px;
  padding-top: 10px;
  width: 1025px;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Transparent black overlay */
  z-index: 999;
}

.partial-view-container {
  position: fixed;
  top: 0%;
  left: 70%;
  /*transform: translate(-50%, -50%);*/
  background: #fff; /* Background color for the partial view */
  padding: 20px;
  width: 30%;
  z-index: 1000;
  height: 100%;
  overflow: auto;
}







/* Customize other elements and styles as needed */

#file-upload-container {
  width: 345px;
  height: 200px;
  border: 2px solid gray;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  border-radius: 10px;
  background: #eeeee4;
}



#file-upload-text {
  margin-top: 10px;
  color: gray;
  text-align: center;
}

#file {
  display: none;
}

#image-preview-container {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  border-radius: 8px
}

#uploadContainer {
  display: flex;
  flex-direction: row;
  align-items: center;
}

#uploadIcon {
  width: 60px;
  height: 60px;
  border: 1px solid #ddd;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  border-radius: 5px; /* Border radius for uploader */
}

#imagePreviewContainer {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.imagePreview {
  position: relative;
  width: 60px;
  height: 60px;
  margin-right: 5px;
  border-radius: 5px; /* Border radius for images */
  overflow: hidden;
  margin-left: 10px;
}

.imagePreviewImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.removeIcon {
  position: absolute;
  top: 5px;
  right: 5px;
  cursor: pointer;
  color: #fff;
  background-color: #333;
  border-radius: 50%;
  padding: 5px;
  font-size: 12px;
}

#imageInput {
  display: none;
}


#wallList {
  width: 100%;
  border: 1px solid #0C1A34;
  border-radius: 10px;
  overflow: hidden;
}







.toggle-btn[checked] {
  background-color: #28a745; /* Bootstrap success color for checked state */
}

.btn-action {
  color: #0C1A34;
}


.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

  .switch input {
    display: none;
  }

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 20px;
  transition: 0.4s;
}

  .slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    border-radius: 50%;
    transition: 0.4s;
  }

input:checked + .slider {
  background-color: #0C1A34;
}

  input:checked + .slider:before {
    transform: translateX(20px);
  }

/* Define styles for buttons and symbols */
.btn-primary,
.btn-info {
  background-color: #0C1A34;
  color: #fff;
  border: 1px solid #0C1A34;
}

.fa-edit,
.fa-eye {
  color: #0C1A34;
}

/* Define styles for DataTable pagination */
/*.dataTables_paginate .pagination .page-item.active .page-link {
  background-color: #0C1A34;
  border-color: #0C1A34;
  color: white
}

.dataTables_paginate .pagination .page-link {
  color: #0C1A34;
}

.img-thumbnail {
  border: none;
  padding: none;
  max-width: 33%;
}

div.dataTables_wrapper div.dataTables_filter {
  text-align: center;
}*/

/* Position the page size dropdown at the bottom */


/*div.dataTables_wrapper div.dataTables_length {
  display: none;
}*/

  /* Position the "Show entries" dropdown at the bottom */
  /*div.dataTables_wrapper div.dataTables_length label {
    display: inline-block;
    margin-bottom: 10px;*/ /* Adjust as needed */
  /*}*/
