@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --white: #fff;
  --black: #000;
}

@font-face {
  font-family: "Franklin Gothic";
  src: url("../fonts/franklin-gothic/FranklinGothic.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: "Franklin Gothic", Arial, sans-serif; /* Fallback to Arial if the font fails to load */
  font-weight: normal; 
}


body {
  height: 100vh;
  overflow: hidden;
}

/* login page css here */
.fr-login-container {
  height: 100%;
  display: flex;
  overflow-y: auto;
  scrollbar-width: none;
}

.fr-login-container > div {
  height: 100%;
  overflow-y: scroll;
  scrollbar-width: none;
  position: relative;
}

.fr-login-container .left {
  background-color: #0a1747;
  width: 36%;
  padding: 10px;
}

.fr-login-container .right {
  background-color: var(--white);
  width: 64%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.fr-login-container .right::before,
.fr-login-container .right::after {
  content: "";
  background-image: url(../img/bg-icon.png);
  width: 100px;
  height: 100px;
  display: block;
  position: absolute;
  top: -71px;
  right: 18px;
  background-size: contain;
  background-repeat: no-repeat;
}

.fr-login-container .right::after {
  bottom: -40px;
  top: inherit;
  left: 18px;
}

.fr-login-container .left header img {
  width: 133px;
  object-fit: contain;
}

.fr-login-container .left h1 {
  color: var(--white);
  text-align: center;
  font-size: 33px;
  line-height: 35px;
  font-weight: 700;
  margin: 30px 0;
}

.fr-login-container .left h1 span {
  display: block;
  color: #fefe05;
}

.fr-login-container .left .inner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  height: calc(100% - 51px);
}

.fr-login-container .left .inner-content img {
  max-width: 90%;
  width: auto;
}

.fr-login-container .left h5 {
  color: #a4b7ff;
  font-weight: 600;
  margin: 46px 0;
  font-size: 15px;
}

.fr-login-container .left h4 {
  color: var(--white);
  font-weight: 400;
  font-size: 13px;
  position: absolute;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.fr-login-container .left h4::before,
.fr-login-container .left h4::after {
  content: "";
  width: 58px;
  height: 1px;
  background-color: var(--white);
  display: inline-block;
}

.fr-login-container .right form .input-box {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
  position: relative;
}

.fr-login-container .right h2 {
  color: #2b4199;
  font-weight: 700;
  margin-bottom: 14px;
  font-size: 24px;
}

.fr-login-container .right form {
  width: 480px;
}

.fr-login-container .right .input-box label {
  color: var(--black);
  font-weight: 400;
  font-size: 15px;
  line-height: 36px;
}

.fr-login-container .right .input-box label::after {
  content: "*";
  color: #ff352b;
  font-weight: 400;
}

.fr-login-container .right .input-box input {
  border: 0.5px solid #636363;
  border-radius: 10px;
  width: 100%;
  height: 54px;
  color: #8e8e8e;
  font-weight: 400;
  outline: none;
  padding: 10px 15px;
  font-size: 14px;
}

.fr-login-container .right .input-box input.wrong-border {
  border: 0.5px solid #f60707;
}

.fr-login-container .right .remember-forgat-box {
  display: flex;
  justify-content: space-between;
  margin: 30px 0 40px;
}

.fr-login-container .right .remember-forgat-box a {
  color: #8d07f6;
  text-decoration: none;
  font-weight: 400;
  font-size: 13px;
}

.fr-login-container .right .remember-box {
  display: flex;
  align-items: center;
  gap: 6px;
}

.fr-login-container .right .remember-box label {
  color: var(--black);
  font-weight: 400;
  font-size: 13px;
}

.fr-login-container .right .input-box input[type="submit"] {
  background: #fefe05;
  box-shadow: 0px 6px 9px #00000029;
  font-weight: 700;
  color: var(--black);
  border: 0;
  height: 48px;
}

.fr-login-container .wrong {
  color: #f60707;
  font-weight: 600;
  text-align: center;
  font-size: 12px;
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translate(-50%);
  width: 100%;
}

.fr-login-container .wrong-inputs {
  top: inherit;
  right: 0;
  left: inherit;
  bottom: -20px;
  transform: inherit;
  text-align: right;
}

/* dashboard page css */

.fr-dashboard-container {
  background-color: #0a1747;
  height: 100%;
  padding: 10px;
}

.fr-dashboard-container header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 20px;
}

.fr-dashboard-container header a img {
  width: 133px;
  object-fit: contain;
}

.fr-dashboard-container header button {
  background-color: transparent;
  outline: none;
  border: 0;
  height: 28px;
  width: 28px;
  cursor: pointer;
}

.fr-dashboard-container header button span {
  color: var(--white);
  font-size: 30px;
}

.fr-dashboard-container main {
  display: flex;
  height: 100%;
  margin-top: 12px;
}

.fr-dashboard-container main aside {
  width: 204px;
  padding: 0 12px 0 6px;
  overflow-y: scroll;
  scrollbar-width: none;
}

.fr-dashboard-container main aside.collapsed {
  width: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fr-dashboard-container main .left-content {
  width: calc(100% - 204px);
  background-color: var(--white);
  box-shadow: 0px 0px 6px #00000029;
  border-radius: 19px;
  position: relative;
}

.fr-dashboard-container main .left-content .main-table-area {
  overflow-y: scroll;
  scrollbar-width: none;
  padding-bottom: 200px;
  height: 100%;
}

.fr-dashboard-container main .left-content.collapsed {
  width: calc(100% - 60px);
}

.fr-dashboard-container main aside .first-title {
  display: flex;
  justify-content: space-between;
}

.fr-dashboard-container main aside .first-title h6 {
  color: #a4b7ff;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 15px;
}

.fr-dashboard-container main aside .first-title span {
  color: #a4b7ff;
  transform: rotate(180deg);
  cursor: pointer;
}

.fr-dashboard-container main aside .first-title span.rotate {
  transform: inherit;
}

.fr-dashboard-container main aside .nav-list-box {
  background-color: #1e2c5cbd;
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  margin-top: 12px;
  text-decoration: none;
  position: relative;
}

.fr-dashboard-container main aside .nav-list-box.active {
  background-color: #fefe05;
  color: var(--black);
}

/* .fr-dashboard-container main aside .nav-list-box.campaign-btn:hover + ul.bottom-nav-list {
  display: block !important;
} */


.fr-dashboard-container main aside .nav-list-box h4 {
  font-weight: 500;
  font-size: 13px;
}

.fr-dashboard-container main aside ul {
  list-style: none;
  padding: 13px 13px 120px;
  display: none;
}


.fr-dashboard-container main aside ul li {
  margin-top: 12px;
  line-height: 18px;
}

.fr-dashboard-container main aside ul a {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  font-size: 12px;
  display: inline-block;
}


.fr-dashboard-container main aside ul a::after{
  content: "";
  width: 0%;
  height: 1px;
  display: block;
  background-color: #fff;
}

.fr-dashboard-container main aside ul a:hover::after{
  animation-name: slideUnderline;
  animation-duration: 1s;
  animation-direction: forwords;
}


@keyframes slideUnderline{
  0%{
    width: 0%;
  }100%{
    width: 100%;
  }
}

.fr-dashboard-container main aside ul.submenu-dropdown{
  display: none;
  z-index: 99999999;
  position: absolute;
  top: 186px;
  background: #fff;
  left: 58px;
  box-shadow: 1px 4px 9px gray;
    flex-direction: column;
    padding-bottom: 13px;
    border-radius: 6px;
}


.fr-dashboard-container main aside ul.submenu-dropdown a {
  text-decoration: none;
  color: var(--black);
  font-weight: 500;
  font-size: 12px;
}

.fr-dashboard-container main aside ul.submenu-dropdown a::after{
  background-color: var(--black);
}

.fr-dashboard-container main .top-header-content {
  border-bottom: 2px solid #8d07f629;
  padding: 24px;
}

.fr-dashboard-container main .top-header-content h3 {
  color: var(--black);
  font-weight: 700;
  font-size: 22px;
}

.fr-dashboard-container main .top-header-content .filter-area {
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
  align-items: center;
}

.fr-dashboard-container main .top-header-content .filter-area button {
  background-color: #fff;
  border: 0.5px solid #a1a1a1;
  border-radius: 11px;
  color: var(--black);
  font-weight: 600;
  font-size: 12px;
  width: 97px;
  height: 28px;
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
}

.fr-dashboard-container main .top-header-content .filter-area button span {
  color: #8d07f6;
  font-size: 15px;
}

.fr-dashboard-container main .top-header-content .filter-area > div {
  display: flex;
  align-items: center;
  border-radius: 11px;
  border: 0.5px solid #a1a1a1;
  padding: 8px 12px;
  gap: 8px;
}

.fr-dashboard-container main .top-header-content .filter-area > div span {
  color: #8d07f6;
  font-size: 13px;
}

.fr-dashboard-container main #reportrange {
  border: 0 !important;
  padding: 0 !important;
  line-height: 9px !important;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 100%;
}

.fr-dashboard-container main #reportrange img {
  width: 10px;
}

.fr-dashboard-container main #reportrange span {
  color: var(--black);
  font-weight: 400;
  font-size: 13px;
}

.fr-dashboard-container .first-table-box {
  padding: 24px 24px 5px;
}

.fr-dashboard-container .table-title {
  color: #2b4199;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.6px;
  margin-bottom: 12px;
}

.fr-dashboard-container main .left-content table {
  width: 100%;
  border: 0;
  padding: 0;
  border-spacing: 0;
}

.fr-dashboard-container main .left-content table thead tr {
  background-color: #2b4199;
}

.fr-dashboard-container main .left-content table thead tr td {
  color: var(--white);
  font-weight: 600;
  text-align: center;
  font-size: 14px;
  padding: 10px;
  border-left: 1px solid #a1a1a1;
}

.fr-dashboard-container main .left-content .inner-first-table {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #a1a1a1;
  border-top: 0;
  position: relative;
}

.fr-dashboard-container main .left-content table tbody tr td {
  color: var(--black);
  font-weight: 400;
  font-size: 13.5px;
  text-align: center;
  padding: 10px 6px;
  border-left: 1px solid #a1a1a1;
  text-wrap: nowrap;
}

.fr-dashboard-container main .left-content table tbody tr:first-child td {
  font-weight: 700;
  font-size: 15px;
}

.fr-dashboard-container main .left-content table tbody tr:nth-child(even) {
  background-color: #a1a1a114;
}

.fr-dashboard-container main .left-content table tbody tr td:first-child,
.fr-dashboard-container main .left-content table thead tr td:first-child {
  border-left: 0;
}

.fr-dashboard-container main .left-content .inner-second-table {
  overflow-x: auto;
}

/* .fr-dashboard-container
  main
  .left-content
  .inner-second-table::-webkit-scrollbar,
.fr-dashboard-container main .left-content .overflow-data::-webkit-scrollbar {
  height: 10px;
  border-radius: 10px;
} */

/* .fr-dashboard-container
  main
  .left-content
  .inner-second-table::-webkit-scrollbar-track,
.fr-dashboard-container
  main
  .left-content
  .overflow-data::-webkit-scrollbar-track {
  background: transparent;
}

.fr-dashboard-container
  main
  .left-content
  .inner-second-table::-webkit-scrollbar-thumb,
.fr-dashboard-container
  main
  .left-content
  .overflow-data::-webkit-scrollbar-thumb {
  background: #8d07f6;
  border-radius: 10px;
} */

.fr-dashboard-container main .left-content .inner-second-table table {
  width: 2000px;
}

.fr-dashboard-container main aside .hidden {
  display: none;
}
.fr-dashboard-container main aside .visible {
  display: block;
}

/* 
.fr-dashboard-container .table-progress-container{
    border: 1px solid #A1A1A1;
    border-radius: 10px;
}

.fr-dashboard-container .table-progress-container > div{
    display: flex;
    border-bottom: 1px solid #A1A1A1;
}


.fr-dashboard-container .table-progress-container > div > div{
    align-items: center;    
}

.fr-dashboard-container .table-progress-container > div > div:first-child{
    width: 200px;
    border-right: 1px solid #A1A1A1;
    color: var(--black);
    font-weight: 600;
    font-size: 15px;
    text-align: right;
    line-height: 18px;
    padding: 10px 14px;
}


.fr-dashboard-container .table-progress-container > div > div:last-child{
    display: flex;
    width: calc(100% - 200px);
    padding: 10px;
    gap: 5px;
}

.fr-dashboard-container .table-progress-container > div > div:last-child > span{
    width: 9.09%;
    text-align: center;
    color: var(--black);
    font-weight: 400;
    font-size: 15px;
} */

.fr-dashboard-container .outer-table-container {
  display: flex;
  gap: 20px;
}

.fr-dashboard-container main .left-content .overflow-data {
  overflow-x: scroll;
  flex: 1;
  height: max-content;
}

.fr-dashboard-container main .table-layout-container {
  display: flex;
  gap: 30px;
}

.fr-dashboard-container main .table-layout-container > div {
  flex: 1;
}

.fr-dashboard-container .progress-container {
  width: 100%;
  background-color: transparent;
  border-radius: 20px;
  padding: 5px;
  position: relative;
  height: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.fr-dashboard-container .progress-bar {
  height: 100%;
  background-color: #8000ff;
  transition: width 0.5s ease-in-out;
}

.fr-dashboard-container .progress-label {
  right: 10px;
  color: #8000ff;
  font-weight: bold;
}

.fr-dashboard-container
  main
  .left-content
  .new-progress-bar-container
  table
  thead
  tr
  td:nth-child(2) {
  width: 60%;
}

.fr-dashboard-container main .left-content .device-category-table {
  border-top: 1px solid #a1a1a1;
}

.fr-dashboard-container
  main
  .left-content
  .device-category-table
  tr:first-child
  td {
  color: #8d07f6;
  font-weight: 600;
}

.fr-dashboard-container
  main
  .left-content
  .device-category-table
  tr
  td:first-child {
  font-weight: 600;
  font-size: 14px;
  color: #000;
  background-color: #a1a1a129;
}

.fr-dashboard-container main .left-content .device-category-table div {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-top: 10px;
}

.fr-dashboard-container main .left-content .device-category-table img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  display: block;
}

.fr-dashboard-container main .creative-performance-gallery-container {
  display: flex;
  gap: 20px;
  padding: 24px 24px 5px;
}

.fr-dashboard-container main .creative-performance-gallery-container > div {
  flex: 1;
  padding: 0;
  overflow: hidden;
}

/* .fr-dashboard-container main .creative-performance-gallery-container > div:last-child{
    overflow-x: scroll;
} */

.fr-dashboard-container main .top-header-content .cp-filter-area > div {
  border-radius: inherit;
  border: inherit;
  padding: inherit;
}

.fr-dashboard-container
  main
  .top-header-content
  .cp-filter-area
  > div.left-area
  > div {
  border-radius: 11px;
  border: 0.5px solid #a1a1a1;
  padding:0px 12px;
  gap: 8px;
  display: flex;
  align-items: center;
  height: 34px;
}

.fr-dashboard-container
  main
  .top-header-content
  .cp-filter-area
  > div.left-area
  > div
  select {
  border: none;
  outline: none;
  color: var(--black);
  font-weight: 400;
  font-size: 13px;
  font-family: "Franklin Gothic", Arial, sans-serif;
  height: 100%;
  background: transparent;
}

.fr-dashboard-container .logout-dropdown-box {
  background-color: #fff;
  position: absolute;
  right: 20px;
  top: 54px;
  border-radius: 9px;
  box-shadow: -2px 3px 10px grey;
  padding: 10px 14px 0;
  text-align: left;
  display: none;
  z-index: 99999;
}

.fr-dashboard-container .logout-dropdown-box.show {
  display: block;
}
.fr-dashboard-container .logout-dropdown-box h6 {
  text-align: left;
  font-size: 14px;
  font-weight: 400;
  font-family: "Franklin Gothic", Arial, sans-serif;
}

.fr-dashboard-container .logout-dropdown-box a {
  font-size: 13px;
  text-align: left;
  font-family: "Franklin Gothic", Arial, sans-serif;
  font-weight: 300;
  margin-top: 1px;
  display: block;
  color: #4563d3;
  text-decoration: none;
}

.fr-dashboard-container .logout-dropdown-box a.logout-text {
  text-transform: capitalize;
  text-align: center;
  margin-top: 22px;
  color: #be2222;
  font-family: "Franklin Gothic", Arial, sans-serif;
  display: flex;
  align-items: center;
  gap: 2px;
  border-top: 1px solid #80808091;
  line-height: 43px;
}

.fr-dashboard-container .logout-dropdown-box a.logout-text span {
  color: #be2222;
  font-size: 16px;
}


.fr-dashboard-container .first-table-box h6{
  font-family: 'Franklin Gothic', Arial, sans-serif;
  font-weight: 700;
  color: #8D07F6;
  margin-bottom: 10px;
  font-size: 12px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 2px;
}

.fr-dashboard-container .first-table-box h6 span{
  font-size: 13px;
}

.fr-dashboard-container .first-table-box h6.subheading{
  margin-top: 16px;
}

.fr-dashboard-container main .left-content .device-category-table tr:nth-child(3) td{
  font-weight: 600;
}

.fr-dashboard-container main .left-content .inner-second-table #camp_summary_video,
.fr-dashboard-container main .left-content .inner-second-table #camp_summary_display,
.fr-dashboard-container main .left-content .inner-second-table #date_wise_report_video,
.fr-dashboard-container main .left-content .inner-second-table #date_wise_report_display{
  width: 100%;
  min-width: 100%;
  max-width: 2000px;
}

.gototop-btn{
  display: none ; /* intially hide  */
  position: fixed;
  width: 50px;
  height: 50px;
  right: 39px;
  bottom: 39px;
  background: #2b4199;
  color: #fff;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
}

/* full screen loader css */
.loader-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000; 
  border-radius: 19px;
  flex-direction: column;
    gap: 15px;
}

.loader {
  border: 8px solid #f3f3f3; 
  border-top: 8px solid #2b4199; 
  border-radius: 50%;
  width: 60px; 
  height: 60px; 
  animation: spin 1s linear infinite; 
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.table-loader-overlay{
  border-radius: 6px;
  background: #ffffff7d;
}

.loader-content {
  display: flex;
  align-items: end;
  gap: 4px;
}
.loader-content h2{
  color:var(--black);
  font-weight: 600;
  font-size: 18px;
}

