/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

* {
  font-family: "Nunito Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100,
    "YTLC" 500;
 }
 
.custom-topnav {
  background-color: #9C34FC !important;
}

.btn {
  border-radius: 0 !important;
}

 .bi {
  display: inline-block;
  width: 1rem;
  height: 1rem;
}

.custom-links {
  color: black !important;
  text-decoration: none !important;
}

.custom-links:hover{
  color: black !important;
}


.card-header {
  background-color: #fff !important;
}


.nav-tabs .nav-link:not(.active) {
  color: #343a40; 
}


.nav-tabs .nav-link.active {
  color: #000000; 
  font-weight: bold;
}
/******************** Bootstrap Dashboard ****************************/
body {
  font-size: .875rem;
}

.feather {
  width: 16px;
  height: 16px;
}

/*
 * Sidebar
 */

.sidebar {
  position: fixed;
  top: 0;
  /* rtl:raw:
  right: 0;
  */
  bottom: 0;
  /* rtl:remove */
  left: 0;
  z-index: 100; /* Behind the navbar */
  padding: 48px 0 0; /* Height of navbar */
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

@media (max-width: 767.98px) {
  .sidebar {
    top: 5rem;
  }
}


.sidebar-sticky {
  height: calc(100vh - 48px);
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
  font-weight: 500;
  color: #333;
}

.sidebar .nav-link .feather {
  margin-right: 4px;
  color: #727272;
}

.sidebar .nav-link.active {
  color: #2470dc;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
  color: inherit;
}

.sidebar-heading {
  font-size: .75rem;
}

/*
 * Navbar
 */

.navbar-brand {
  padding-top: .75rem;
  padding-bottom: .75rem;
  background-color: rgba(0, 0, 0, .25);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .navbar-toggler {
  top: .25rem;
  right: 1rem;
}

.navbar .form-control {
  padding: .75rem 1rem;
}

.form-control-dark {
  color: #fff;
  background-color: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

/************************************************/

/* General Icon Styles */
.icon {
  font-size: 16px;
  margin-right: 5px;
}

/* Status-specific Icon Styles */
.pending_approval_icon {
  color: lightgray;
}

.approved_icon {
  color: green;
}

.to_review_icon {
  color: yellow;
}

.paused_icon {
  color: blue;
}

.disabled_icon {
  color: gray;
}

.blocked_icon {
  color: red;
}

.system_owned_icon {
  color: black;
}

.pending_adoption_icon {
  color: lightgray;
}

.adopted_icon {
  color: green;
}

.restricted_offer_icon {
  color: purple;
}

.private_offer_icon {
  color: black;
}

.public_offer_icon {
  color: green;
}

.deal_icon {
  color: teal;
}

.free_icon {
  color: magenta;
}

.paid_icon {
  color: gold;
}

.live_icon {
  color: green;
}

.expired_icon {
  color: darkred;
}

.admin_icon {
  color: red;
}

.new_user_icon {
  color: lightgray;
}

.standard_icon {
  color: blue;
}

.business_icon {
  color: black;
}

.microservice_icon {
  color: darkorchid;
}

.error_icon {
  color: darkred;
}

.index-list-image {
/*  height: 56px !important;*/
  width: 56px !important;
  margin: auto;
}

.show-image {
/*  height: 400px !important;*/
  width: 200px !important;
  margin: auto;
}

/******************** Pagination ****************************/
/* Add this to your application.scss or create a new stylesheet */
.pagination {
  display: flex;
  padding-left: 0;
  list-style: none;
  border-radius: 0.25rem;
}

.pagination > li {
  display: inline;
}

.pagination > li > a,
.pagination > li > span {
  position: relative;
  float: left;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #007bff;
  background-color: #fff;
  border: 1px solid #dee2e6;
}

.pagination > .active > a,
.pagination > .active > span {
  z-index: 1;
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}

.pagination > .disabled > a,
.pagination > .disabled > span {
  color: #6c757d;
  pointer-events: none;
  background-color: #fff;
  border-color: #dee2e6;
}


/******************** Live Clock ****************************/

/* Time display styles */
.live-time-container {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 12px;
  transition: background-color 0.3s ease;
}

.live-time-container:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

#live-time {
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .live-time-container {
    padding: 6px 8px;
    font-size: 0.85rem;
  }
  
  .live-time-container i {
    display: none; /* Hide clock icon on mobile */
  }
}
