.dsl-blue{
    color: #00A2E8;
}
.dsl-violet{
    color: #454D72;
}
.italic{
    font-style: italic;
}
.mt-2{
    margin-top: 20px!important;
}
.mb-2{
    margin-bottom: 20px!important;
}
.pb-0 {
    padding-bottom: 0!important;
}
.fw-700 {
    font-weight: 700;
}
.card {
    box-shadow: 0px 5px 15px 0px rgba(0,0,0,0.1)!important;
}
.leaderboards-section .card {
    max-width: none;
    min-width: auto;
    width: 100%;
    border-radius: 10px;
    padding: 50px;
}
.leaderboards-section .profile .card-body {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
	gap: 30px;
}
.level {
    font-size: 24px;
    margin-top: 10px;
    font-weight: 600;
}
.profile-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}
.profile-container .name {
    padding-bottom: 5px;
}
#leaderboard-profile-img {
    margin-left: auto;
    margin-right: auto;
    width: 100% !important;
    max-width: 100px;
    display: block;
    border-radius: 100%;
    margin-bottom: 5px;
}
.leaderboards-section p {
    margin: 0;
}
.leaderboards-section p.name {
    font-size: 25px;
}
.leaderboards-section p.level,.leaderboards-section p.points,.leaderboard-item .number,.leaderboard-info .profile-name {
    font-weight: 700;
}
.leaderboards-container {
    display: flex;
    gap: 30px;
}
.leaderboards-container .card{
    padding: 15px!important;
}
.leaderboards-container .card.no-data .card-body .no-data {
    display: flex;
    min-height: 140px;
    align-items: center;
}
.leaderboards-container p.heading {
    border-bottom: 1px solid #c3c4c7;
    padding-bottom: 10px !important;
    font-size: 20px;
}
.leaderboard-info {
    display: flex;
    gap: 15px;
    align-items: center;
}
.leaderboard-info .badge {
    min-width: 24px;
    margin-top: -10px;
}
.leaderboard-info .image img {
    border-radius: 100px;
    border: 2px solid #fff;
    background: #fff;
}
.leaderboard-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.level-item {
    border: 2px solid #c3c4c7;
    padding: 13px 10px 10px 10px;
    border-radius: 10px;
}
.leaderboard-list {
    padding: 15px 0 0 0;
}
.levels-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
	gap: 20px;
}
.level-item.locked {
    opacity: .5;
    background: #f2f2f2;
    cursor: not-allowed;

}
.level-item.unlocked {
    border: 2px solid #ff9a1d;
    background-color: #ff9a1d40;
    cursor: pointer;
}
.level-item .number {
    width: 40px;
    height: 40px;
    display: block;
    margin: 0 auto;
    background-color: #ff9a1d;
    font-size: 25px;
    font-weight: 600;
    color: #000;
    line-height: 1.6;
    border-radius: 100px;
}
.level-item.locked svg {
    margin-top: 8px;
}
.quiz-medal {
    margin: 0;
}
.quiz-medal {
    position: relative;
    margin-bottom: 8px;
    width: fit-content;
    font-size: 20px;
    font-weight: 700;
}
.quiz-medal__circle {
    font-size: 12.5px;
    line-height: 1.5 !important;
    font-weight: 500;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    color: white;
    text-align: center;
    line-height: 46px;
    vertical-align: middle;
    position: relative;
    border-width: 0.2em;
    border-style: solid;
    z-index: 1;
    box-shadow: inset 0 0 0 #a7b2b8, 2px 2px 0 rgba(0, 0, 0, 0.08);
    border-color: #edeff1;
    text-shadow: 2px 2px 0 #98a6ad;
    background: linear-gradient(to bottom right, #d1d7da 50%, #c3cbcf 50%);
}
.quiz-medal__circle.quiz-medal__circle--gold {
    box-shadow: inset 0 0 0 #b67d05, 1px 1px 1px 0px rgba(0, 0, 0, 0.08);
    border-color: #fadd40;
    text-shadow: 0 0 4px #9d6c04;
    background: linear-gradient(to bottom right, #f9ad0e 50%, #e89f06 50%);
}
.quiz-medal__circle.quiz-medal__circle--silver {
    box-shadow: inset 0 0 0 #a7b2b8, 1px 1px 1px rgba(0, 0, 0, 0.08);
    border-color: #edeff1;
    text-shadow: 0px 0px 4px #98a6ad;
    background: linear-gradient(to bottom right, #d1d7da 50%, #c3cbcf 50%);
}
.quiz-medal__circle.quiz-medal__circle--bronze {
    box-shadow: inset 0 0 0 #955405, 1px 1px 1px rgba(0, 0, 0, 0.08);
    border-color: #f29463;
    text-shadow: 0 0 4px #7d4604;
    background: linear-gradient(to bottom right, #e68451 50%, #d87e4d 50%);
}

.quiz-medal__ribbon {
    content: "";
    display: block;
    position: absolute;
    border-style: solid;
    border-width: 5px 4px;
    width: 0;
    height: 15px;
    top: 15px;
}

.quiz-medal__ribbon--left {
    border-color: #FC402D #FC402D transparent #FC402D;
    left: 1px;
    transform: rotate(20deg) translateZ(-32px);
}

.quiz-medal__ribbon--right {
    left: 11px;
    border-color: #f31903 #f31903 transparent #f31903;
    transform: rotate(-20deg) translateZ(-48px);
}

@media screen and (max-width: 769px){
    .leaderboards-section .card {
        padding: 20px;
    }
    .leaderboards-section .card.profile .card-body {
        gap: 30px;
        grid-template-columns: 1fr;
    }
    .levels-container {
        gap: 20px;
    }
}

@media screen and (max-width: 550px){
    .levels-container {
        grid-template-columns: 1fr 1fr;
    }
    .leaderboards-container {
        gap: 20px;
        flex-direction: column;
    }
}


/* Leaderboards Widget/Sidebar */
.leaderboards-widget {
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1) !important;
    padding: 10px;
    border-radius: 20px;
    background: #fff;
}	
.leaderboard-widget-list {
    padding: 0px 20px 10px 20px;
    min-height: 200px;
}
.leaderboard-widget-list.no-data {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #454D72;
}
.leaderboard-widget-list .leaderboard-item {
    border-bottom: 1px solid #e8e8e8;
    padding: 10px 0 3px 0;
}
.leaderboard-widget-list .number {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 20px;
}
.leaderboards-widget .leaderboard-item.current-user {
    background-color: #F3F4F8;
    border: 2px solid #E9EAEF;
    border-radius: 20px;
    transform: scale(1.1);
    padding: 10px 35px 5px 35px;
    margin: 0 -25px;
}
.leaderboards-widget .leaderboard-item.current-user .quiz-medal img {
    margin: 10px 13px -10px 23px!important;
}
.leaderboard-tabs {
    display: flex;
    gap: 0px;
    background-color: #F3F4F8;
    width: fit-content;
    margin-top: 10px;
    margin-bottom: 15px;
    border-radius: 100px;
}
.learn-more-btn {
    background: #454d72;
    color: #fff!important;
    padding: 5px 10px 3px 10px;
    text-transform: uppercase;
    border-color: #454d72;
    border-radius: 5px;
    width: fit-content;
    margin: 10px auto 5px auto;
    display: block;
    font-weight: 600;
}
.card {
    box-shadow: 0px 5px 15px 0px rgba(0,0,0,0.1)!important;
}
.profile-card {
    background-color: #454D72;
    padding: 20px;
    border-radius: 20px;
    color: #fff;
}
.profile-header {
    display: flex;
    gap: 1vw;
    justify-content: center;
    align-items: center;
}
img.profile-avatar {
    width: 60px;
    border-radius: 100px;
}
.leaderboards-widget .profile-name {
    font-size: 20px;
    margin-bottom: 5px;
    display: none;
}
.leaderboards-widget .quiz-medal img {
    margin: 10px 20px -10px 20px!important;
    height: 40px;
    width: auto;
}
.leaderboards-widget .quiz-medal.light.dsl-violet {
    opacity: .6;
    margin: 10px 30px 8px 28px;
}
.profile-info {
    width: 100%;
}
.profile-progress, .profile-awards-points {
    display: flex;
    gap: 1vw;
    margin-bottom: 5px;
}
.profile-progress span {
    display: flex;
    flex-direction: column;
    flex: 0 0 48%;
    padding: 0 5px;
    line-height: 1.3;
    font-size: 12px;
    text-transform: uppercase;
}
.profile-awards-points span {
    background-color: #fff;
    border-radius: 8px;
    color: #454d72;
    padding: 1px 10px 0px 10px;
    text-align: center;
    gap: 5px;
    font-size: 10px;
    display: flex;
    align-items: center;
	flex: 0 0 48%;
}
.tab-button.active {
    background: #454d72;
    color: #fff;
    border-color: #454d72;
}

.tab-button {
    padding: 8px 16px;
    border: 0px solid #ccc;
    background: #f5f5f5;
    cursor: pointer;
    font-weight: 600;
    border-radius: 30px;
}
.leaderboard-tab {
    display: none;
}
.leaderboard-tab.active {
    display: block;
}
.text-center {
	text-align:center;
}

@media screen and (max-width:800px){
	.all-leaderboards {
		grid-template-columns: 1fr!important;
	}
}
@media screen and (max-width:1130px){
	.all-leaderboards .profile-progress, .all-leaderboards .profile-awards-points {
        gap: 10px;
        flex-direction: column;
        text-align: center;
    }
	.all-leaderboards .profile-awards-points span {
		justify-content:center;
	}
	.refer-section {
		flex-direction:column;
	}
	.refer-info, .refer-sms {
		width: 100%;
	}
}
@media screen and (max-width:1450px){
	.profile-progress, .profile-awards-points {
		gap: 10px
	}
	.profile-card {
		padding: 15px;
	}
	.leaderboards-widget .profile-info {
		width: auto;
	}
	.all-leaderboards .profile-header {
		gap: 10px;
		flex-direction: column;
	}
	.all-leaderboards img.profile-avatar {
		margin:0 auto;
	}
	.all-leaderboards .profile-info {
		margin: 0 auto;
		width: 100%;
	}
	.all-leaderboards .profile-side {
		display: flex;
		flex-direction: column;
		align-items: center;
		align-content: center;
		width: 100%;
	}
	.all-leaderboards .profile-awards-points span {
		flex: 0 0 48%;
	}
}

/*All Leaderboards*/
.all-leaderboards {
	display: grid;
    grid-template-columns: 0.6fr 1.4fr;
    gap: 30px;
}
.all-leaderboards .pagination {
    width: fit-content;
    margin: 10px auto 0 auto;
}
.all-leaderboards .pagination a {
  color: #454d72;
  text-decoration: none;
  margin: 0 5px;
  font-weight: 600;
}
.all-leaderboards  .pagination a:hover {
  text-decoration: underline;
}
.all-leaderboards .pagination span {
  color: #555;
  font-size: 14px;
}
.all-leaderboards .sidebar,.all-leaderboards .leaderboards-content{
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1) !important;
    padding: 20px;
    border-radius: 20px;
}	
.all-leaderboards .sidebar {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #fff;
    background-image: url(https://blueprint.jenocabrera.tech/wp-content/uploads/2025/10/sidebar-bg.png);
}
.all-leaderboards .leaderboards-content {
    display: flex;
    flex-direction: column;
    background-color: #fff;
}
.all-leaderboards .leaderboards-content .profile-name {
    font-size: 18px;
    margin-bottom: 5px;
    color: #454d72;
}
.all-leaderboards .sidebar .profile-name {
    font-size: 20px;
    font-weight: 600;
}
.all-leaderboards p.member.pb-0 {
    font-size: 12px;
    font-weight: 400;
}
.all-leaderboards .leaderboards-header {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}
.all-leaderboards .leaderboard-tabs{
	margin-bottom:0!important;
	margin-top:0!important;
}
.all-leaderboards .leaderboard-item {
    border: 2px solid #E9EAEF;
    border-radius: 20px;
    padding: 10px 25px 5px 25px;
    margin-left: -25px;
    margin-right: -25px;
    margin-bottom: 10px;
}
.all-leaderboards .leaderboard-item.current-user {
    background-color: #F3F4F8;
}
.all-leaderboards .leaderboard-item.current-user .quiz-medal{
    background-color: #f9faff;
}
.all-leaderboards .quiz-medal {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 4px;
    background-color: #f3f4f8;
    padding: 0 10px;
    border-radius: 30px;
}
.all-leaderboards .leaderboards-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}
.all-leaderboards .learn-more-btn {
    margin: 0;
}
.all-leaderboards p.reward {
    margin: 20px auto 15px auto;
    text-align: center;
}
.all-leaderboards .next-reward b{
    font-weight: 700;
}
.all-leaderboards img.profile-avatar {
    width: 50px;
    border: 2px solid #fff;
    border-radius: 100px;
    background: #fff;
}
.all-leaderboards .profile-header {
    justify-content: flex-start;
    align-items: flex-start;
}
.all-leaderboards p.job {
    border-radius: 30px;
    background-color: #fefefe;
    text-align: center;
    width: fit-content;
    color: #454d72;
    margin-top: 5px;
    font-size: 12px;
    padding: 0px 10px;
    margin-bottom: 20px;
}
.points-earned {
  border:2px solid #E9EAEF;  
  background: #F3F4F8;
  border-radius: 10px;
  padding: 20px;
  font-size: 12px;
}

.awards {
  border:2px solid #E9EAEF;  
  background: #F3F4F8;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 20px;
}

.achievements-flex {
    display:flex; 
    flex-wrap:wrap; 
    gap:10px; 
    align-items:center;
}

.achievement-item {
    position:relative; 
    width:50px; 
    height:50px; 
}

.achievement-count {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #454d72;
    color: #fff;
    line-height: 1;
    font-size: 7px;
    font-weight: 600;
    border-radius: 50px;
    height: 15px;
    width: 15px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.points-earned h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0;
}

.points-item {
  display: grid;
  grid-template-columns: 1.6fr .6fr .8fr;
  padding: 8px 0;
  gap: 10px;
  border-bottom: 1px solid #e2e8f0;
}

.points-item:last-child {
  border-bottom: none;
}

.action {
  font-weight: 700;
  line-height: 1.3;
}

.points {
  font-weight: 400;
}

.max {
  color: #64748b;
  font-weight: 400;
  font-size: 0.9em;
  margin-left: 4px;
}

/*REWARDS*/

.rewards-container {   
  color: #454D72;
  margin-top: 30px;
}

/* Refer a friend */
.refer-section {
  display: flex;
  justify-content: space-between;
    align-items: center;
    background: #fff;
    margin-bottom: 30px;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1) !important;
    padding: 25px;
    border-radius: 20px;
    gap: 30px;
}

.refer-info {
  flex: 2;
}

.refer-form {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.refer-form input {
  flex: 1;
  padding: 15px!important;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  font-size: 0.95rem;
}

.refer-form button {
  background: #454D72;
  color: white;
  border: none;
  font-size: 18px;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  transition: 0.2s;
}

.refer-form button:hover {
  background: #454D72;
}

.refer-sms {
  flex: 1;
  text-align: center;
}

.sms-card {
    background: #f1f5f9;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.sms-card img {
  width: 80px;
  margin-bottom: 8px;
}

.sms-card p {
    font-size: 18px;
    text-align: left;
}

/* Rewards Shop */
.rewards-shop {
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1) !important;
  padding: 25px;
  border-radius: 20px;
}
.rewards-shop h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.rewards-shop p {
  margin-bottom: 15px;
}

.rewards-shop p.cost {
  font-size: 20px;
}
.rewards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));
  gap: 20px;
}

.reward-card {
    background: #fff;
    border-radius: 12px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    overflow: hidden;
    border: 2px solid #E9EAEF;
}

.reward-card.locked {
  filter: blur(6px);
  pointer-events: none; /* disables clicking on everything inside */
  user-select: none; /* prevent selecting text or dragging */
  position: relative;
}

.rewards-shop .reward-info img {
    height: 40px;
    margin-bottom: 6px;
}

.reward-info {
  padding: 20px;
}

.reward-info h4 {
  font-size: 22px;
  font-weight: 700;
}

.progress {
  background: #cecece;
  height: 15px;
  border-radius: 10px;
  margin: 8px 0 15px 0;
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(45deg, #3a55d2, #2597f0);
  height: 100%;
}

.progress-text {
  font-size: 14px!important;
  color: #64748b;
  margin-bottom: 20px!important;
}

.rewards-shop .btn-primary, .btn-disabled {
  width: 100%;
  text-align: center;
  border: none;
  border-radius: 10px;
  padding: 15px 10px 15px 10px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  display: block;
  font-size: 18px;
}

.rewards-shop .btn-primary {
    background: #454d72;
    color: #fff;
    border-color: #454d72;
}

.rewards-shop .btn-disabled {
  background: #f1f5f9;
  color: #64748b;
  cursor: not-allowed;
}

.suggestion {
    margin-top: 20px;
    margin-bottom: 10px !important;
    text-align: left;
    font-size: 18px!important;
}

@media screen and (max-width: 980px){
	.rewards-grid {
		grid-template-columns: repeat(auto-fill, minmax(47%, 1fr));
	}
}
@media screen and (max-width: 769px){
	.refer-form {
		flex-direction: column;
	}
}
@media screen and (max-width: 600px){
	.rewards-grid {
		grid-template-columns: repeat(auto-fill, minmax(100%, 1fr))!important;
	}
}