:root {
    --primary: #45494C;
    --secondary: #C4C8BF;
    --error: #ff0000;

    --shades-white: #FFFFFF;

    --neutral-50: #FDFEFF;
    --neutral-200: #F3FAFE;
    --neutral-400: #C4C8BF;
    --neutral-500: #CFDDE4;
    --neutral-600: #A1ACB1;
    --neutral-700: #737B7F;
    --neutral-800: #45494C;
    --neutral-900: #171819;

    --navLink_HoverBackground: #dba34f;     /*Hardcode in backend.css*/
    --dropdownContent_Background: #f9f9f9;  /*Hardcode in backend.css*/
    --accountIcon_Background: grey;
    --dropdownContent_Achor: black;
    --customContainer_Background: white;    /*Hardcode in backend.css*/
    --header_Background: #f0f0f0;
    --dropdownContent_AchorHover: #f1f1f1;
    --headerRow_BorderBottom: #ddd;
    --th_td: #ddd;
    --pagination_Pagelink: grey;
    --pagination_PagelinkActive: black;
    --iconContainer: #737B7F;
    --popup_Background: white;
    --createWarningIcon_Background: #208D33;
    --deleteWarningIcon_Background: #E7162F;
    --warningIcon: white;
    --statusBlocked: red;       /*Hardcode in backend.css*/
    --statusActive: #208D33;    /*Hardcode in backend.css*/
    --accountIconView_Background: #CFDDE4;
    --upDownBtn_Color: #737B7F;
    --upDownBtn_Border: #737B7F;
    --upDownBtn_SelectedColor: white;
    --upDownBtn_SelectedBackground: #737B7F;
    --permissionTable_Border: #ccc;
    --customBtnOutlineDark_Border: #45494C;
    --customBtnOutlineDark_Color: #45494C;
    --customBtnOutlineDark_HoverBorder: #45494C;
    --customBtnOutlineDark_HoverColor: #45494C;

    --designWidth: 1920;
    --designHeight: 1080;

    --font-family: Helvetica;
}

* {
    font-family: var(--font-family);
}

.text-center {
    text-align: center !important;
}

.alert {
    font-size: 14px;
    text-align: left;
    margin: 5px 0;
}

.alert-danger {
    color: var(--error);
}

.cursor-pointer,
.cursor-pointer * {
    cursor: pointer;
}

.flex-box {
    display: flex;
}

.flex-row {
    flex-direction: row;
}

.flex-column {
    flex-direction: column;
}

.flex-between {
    justify-content: space-between;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

a *, button {
    cursor: pointer;
}

a {
    display: flex;
    color: inherit;
    text-decoration: none;
}

.highcharts-credits {
    display: none;
}

#chart_one path.highcharts-point {
    stroke-width: 0 !important;
}

.no-data {
    text-align: center;
}

.require-span {
    color: var(--statusBlocked);
}

/* Add this to your common.css or backendSystem.css */

/* Add this to your common.css or backendSystem.css */

.action-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.action-header {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.action-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.subject-list {
    list-style: none;
    padding: 0;
}

.subject-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width:100%;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.go-to-game {
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
}

.go-to-game:hover {
    background-color: #0056b3;
}

.button {
  width: 155px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 0px 15px;
  background-color: #a7dbf5;
  border-radius: 10px;
  border: none;
  color: black;
  position:relative;
  cursor: pointer;
  font-weight: 900;
  transition-duration: .2s;
}

.game path {
  color: black;
}

.button .arrow {
  position: absolute;
  right: 0;
  padding: 0px 5px;
  width: 30px;
  height: 100%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.button:hover,
.button:focus {
  background-color: #6dc3ee;
  transition-duration: .2s;
}

.button:hover .arrow {
  animation: slide-right .6s ease-out both;
}
/* arrow animation */
@keyframes slide-right {
  0% {
    transform: translateX(-10px);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.button:active {
  transform: translate(1px , 1px);
  transition-duration: .2s;
}

.buttonlearnmore {
    width: 145px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 0px 15px;
    background-color: #142065;
    border-radius: 10px;
    border: none;
    color: white;
    position: relative;
    cursor: pointer;
    font-weight: 900;
    transition-duration: .2s;
  }

.buttonlearnmore:hover,
.buttonlearnmore:focus {
  background-color: #00033a;
  transition-duration: .2s;
}
.buttonlearnmore:hover .arrow {
    animation: slide-right .6s ease-out both;
}
.buttonlearnmore .arrow {
    position: absolute;
    right: 0;
    padding: 0px 5px;
    width: 30px;
    height: 100%;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.buttonlearnmore:active {
    transform: translate(1px , 1px);
    transition-duration: .2s;
}
/*leaderboard start*/
.table-container {
    margin: 20px auto;
    overflow: auto;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 15px rgb(0, 0, 0);
}

.leaderboard-table thead th { /*heading css*/
    padding: 10px 15px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 16px;
    background-color: #6dc3ee;
    border-bottom: 1px solid;
}

.leaderboard-table tbody tr { /*each rank background color*/
    background-color: #a7dbf5;
    border-bottom: 1px solid ;
    border-radius: 10px;
}

.leaderboard-table tbody tr:hover {
    background-color: #6dc3ee;
}

.leaderboard-table tbody td {
    padding: 10px 15px;
    font-size: 16px;
    color: white;
    
}

.leaderboard-table tbody td:first-child {
    font-weight: bold;
}

.leaderboard-table tbody td:last-child {
    text-align: right;
}

.leaderboard-table tbody tr td.rank {
    text-align: center;
    font-size: 16px;
}

.leaderboard-table tbody tr td.username {
    display: flex;
    align-items: center;
}

.leaderboard-table tbody tr td.username img {
    border-radius: 50%;
    margin-right: 10px;
}

.leaderboard-table tbody tr td .icon {
    margin-right: 5px;
    color: #f1c411;
}

.leaderboard-title {
    background-color: #f1c411; /* Background color */
    text-align: center;
    padding: 10px; /* Adjust padding as needed */
    border-radius: 25px; /* Rounded corners */
    margin-bottom: 20px; /* Space below the title */
    box-shadow: 2px 2px 8px #000000; /* Optional: Add shadow */
}

.leaderboard-title h1 {
    color: white; /* Title text color */
    font-weight: 800; /* Title font weight */
    margin: 0; /* Remove default margin */
}

/* Style for the select box container */
.select-container {
    text-align: left;
    margin: 20px 0;
}

/* Style for the select box */
.select-container select {
    background-color: #a7dbf5; /* Matches the background color of the table header */
    color: black; /* Text color */
    font-weight: 600; /* Font weight */
    border: 2px solid #000000; /* Border color */
    border-radius: 15px; /* Rounded corners */
    padding: 10px 20px; /* Padding */
    font-size: 16px; /* Font size */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Box shadow for depth */
    transition: background-color 0.3s ease, color 0.3s ease; /* Transition for smooth effect */
    width: 350px;
}

/* Style for the select box when focused */
.select-container select:focus {
    outline: none; /* Remove default outline */
    background-color: #6dc3ee; /* Slightly darker background color when focused */
}

/* Style for the select box options */
.select-container select option {
    background-color: white; /* Background color of the options */
    color: black; /* Text color of the options */
}


/*leaderboard end*/

.subject-item.even {
    background-color: #f9f9f9;
}

.subject-item.odd {
    background-color: #e9e9e9;
}

#classDetails {
    display: none;
}

#classDetails.show {
    display: block;
}

.action-body .subject-list .subject-item > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}







