/****
KING THEME CSS START
***/



/* Padding for the whole page/body */

.entry-content {
    padding: 2px 2px !important;
}


/* King Thumbnail - Set min-height to auto for responsiveness */
.king-postimg .king-lazy {
    min-height: auto !important;
}

/* King header background */
.king-header {
	background-color: #fff;
}

/* King Avatar / Profile IMG */
.user-header-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; /* Slightly larger than the avatar */
    border: 4px solid #6a2c70; /* Change to your preferred border color */
	background-color: #6a2c70;
}

/* King Search Bar Background */
.king-search-top .header-search-form  {
background-color: #c8d1d8;	
}

/* King Search bar active background color*/
.king-search-top .active {
background-color: #fff;
}

/* King Search bar border color*/
.header-search-form {
    border: solid 1px #6a2c70;
}

/* search bar magnifying glass */
.fa-search:before {
    color: #6a2c70;
}

/* King Header Icons Color and Background Color*/
.head-icons, .king-submit-open, .user-header-noavatar {
	background: #6a2c70;
    color: #ffffff;
}

/* King Masonry Post Entry Meta Background*/
.entry-meta{
	background: #6a2c70;
	color: #fff;
}

/* King Points User/Profile Menu Drop Down Background Color */
.king-points {
    background:#6a2c70;
}

/* King Masonry Thumbnail Bookmark and Share Button*/
.king-ft-link {
    color: #fff;
    background: #6a2c70;
}

/* King Masonry Read Later or Bookmarked Background color*/
.king-readlater.added {
    background-color: #FF9800;
}

/*King Load More Button Background color*/
.ias-trigger-next {
	    background: #6a2c70;
}

.ias-trigger-next:hover {
		background: #6a2c90;
}

/* King hide Single post back Images */
.single-post-back, .single-post-back-no{
	display: none !important;
}

/* Single Post Margin Top after hiding post back images*/
.single .sing-template-3 .site-main {
	margin-top: 0px;
}

/* King Header And Page Title Font-Size & text-align*/
.entry-header .entry-title {
    font-size: 25px;
	text-align: Center;
	line-height: 40px;
}

@media (max-width: 768px) {
    .entry-header .entry-title {
        font-size: 22px;
		line-height: 30px;
    }
}


/* King Single Post Meta Below Post*/
.post-meta {
    color: #ffffff;
    background: #6a2c70;
}

/* King Single Post Author Box Tip User*/
button.tip-user-btn {
    padding-bottom: 4px;
    padding-top: 4px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 23px;
    font-weight: 700;
    background: #6a2c70;
    border: solid 1px #6a2c70;
}

/* .omgfan-post - Styles for the post container */
.omgfan-post {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Ensures spacing between title and meta */
  height: 100%; /* Let the post fill the grid cell */
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

#secondary .omgfan-post {
  margin-bottom: 30px; /* Adjust the value as needed */
}

/* .omgfan-post-header - Adjust the title and header styling */
.omgfan-post-header {
    padding: 10px;
    background-color: #ffffff; /* Light background for the header */
   
}

/* .omgfan-post-header - Adjust the font-size and font-weight */
.omgfan-post-header .entry-title {
    font-size: 17px; /* Title font size */
    font-weight: 600; /* Bold title */
    color: #333; /* Dark text color */
    margin: 0;
	line-height: 30px;
}

.omgfan-post-header .entry-title a {
    color: #333; /* Title link color */
    text-decoration: none; /* No underline */
    transition: color 0.3s ease; /* Smooth color transition */
}

.omgfan-post-header .entry-title a:hover {
    color: #6a2c70; /* Title link hover color */
}

/* .omgfan-post-thumb - Adjust the thumbnail link styling */
.omgfan-post-thumb {
    display: block;
    text-decoration: none; /* Remove underline from the thumbnail link */
    overflow: hidden; /* Ensure the image doesn't overflow */
}

/* .omgfan-post-thumb - Adjust the img */
.omgfan-post-thumb img {
    width: 100%; /* Ensure the image fills the container */
    height: auto; /* Maintain the aspect ratio */
    transition: transform 0.3s ease; /* Smooth zoom effect */
	 border-bottom: 1px solid #6a2c70; /* Border at the top */
}

/* .omgfan-post-thumb - Adjust the hover */
.omgfan-post-thumb img:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

.omgfan-post .entry-meta {
    font-size: 12px;
    color: #ffffff;
	margin-left: 3px;
    margin-right: 3px;
    margin-bottom: 3px;
    background-color: #6a2c70;
}

/*King Post Comment Button*/
input[type="submit"] {
    border-radius: 14px;
    background: #6a2c70;
    border: solid 1px #24C6DC;
}

/*Hot Posts Widget Fire Padding*/
.widget-title .fa-fire {
       padding-right: 5px;
	}
	
/*TransferCred Tip Author Popup / Modal Css */

.king-tip-user-modal .king-modal-header{
	background: #6a2c70;
	color: white;
}

.king-tip-user-modal .king-modal-form {
    /* Style the modal content container */
    border-radius: 10px;
    background: #fff;
}

button.mycred-submit-transfer.btn.btn-primary.btn-block.btn-lg {
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

button.tip-user-btn {
    padding-bottom: 4px;
    padding-top: 4px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 23px;
    font-weight: 700;
    background: #6a2c70;
    border: solid 1px #24C6DC;
}

.king-login-buttons a {
	background: #6a2c70;
	color: #ffffff;
}


.king-vertical-menu a {
    display: block;
    text-align: left; 
    padding: 8px 15px; 
    width: 100%; 
    color: #333; 
    text-decoration: none; 
    }

.user-header-menu a i {
    margin-right: 8px; /* Space between icon and text */
}

/* Hover effect */
.user-header-menu a {
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.user-header-menu a:hover {
  transform: scale(1.04);
}


.user-header-profile a {
font-size: 18px !important;
}

.user-header-notifications {
    position: relative;
    display: inline-block;
}

.notif-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #f95e3c;
    color: white;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    padding: 4px 7px;
    line-height: 1;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
	



/* King Header / Account Sub-menus CSS */
.king-vertical-menu {
    width: 100%; 
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.menu-item {
    position: relative;
}
.menu-link {
    display: flex;
    align-items: center;
    padding: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border-radius: 5px;
}
.menu-link:hover {
    background-color: rgba(106, 44, 112, 0.1);
}
.menu-link i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}
.submenu-toggle {
    margin-left: auto;
    transition: transform 0.3s ease;
}
.submenu {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease-out;
    padding-left: 15px;
    margin-left: 10px;
    border-left: 2px solid rgba(106, 44, 112, 0.2);
}
.submenu-item {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    border-radius: 5px;
    opacity: 1; /* Changed from 0 to 1 */
    transform: translateX(0); /* Changed from -10px to 0 */
    /* Removed the transition from here as we don't need to animate these anymore */
}
.submenu-item:hover {
    background-color: rgba(106, 44, 112, 0.1);
    padding-left: 15px;
}
.submenu-toggle i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #6a2c70;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
}
.has-submenu.open .submenu-toggle i {
    background-color: #4a1a4f;
    transform: rotate(90deg);
}

/* King Post Navigation Next Post Previous Post CSS */
.post-nav {
	display: none;
}

.site-main .page {
	padding: 0px !important;
}

.site-branding .mobile-king-logo img, .site-branding .mobile-king-logo-night img {
    max-width: 160px !important;
}
	
.king-leftmenu-close {
    color: #ffffff;
    background-color: #6a2c70;
}

.king-leftmenu-close:hover {
    background-color: #ffffff;
    color: #6a2c70;
}


nav#site-navigation {
    display: none;
}

.open.king-leftmenu {
	background-color: #6a2c70;
}

.open.king-leftmenu a:hover {
    color: #bba0a0;
}

.king-leftnav a, .king-leftmenu-nav a {
	font-size: 17px;
    font-weight: 700;
	color: #fff;
}	

.king-mobile-search:before{
	Color: #fff;
}

#page > div.king-leftmenu.king-scroll.open > form > input,
#page > div.king-leftmenu.king-scroll.open > form > input:focus {
    color: #fff !important;
}

.fa-home:before {
    font-size: 22px;
}	

.king-scroll::-webkit-scrollbar-thumb:hover {
    background-color: #fff;
}

.tags-links {
display: none;
}

.king-related {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding: 20px 0;
}

.related-title {
  grid-column: 1 / -1; /* Make the title span across all columns */
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.post-author-name {
  text-transform: capitalize;
  transition: color 0.3s ease;
}

.post-author-name:hover {
  color: #6a2c70;
}

/****
KING THEME CSS END
***/




/****
QUIZ PLUGIN CSS START
***/

/*Quiz Plugin Padding Top & z-index*/
[id^="ays_finish_quiz_"] div.step {
	    padding-top: 0px;
		z-index: 1;
}

/*AYS Quiz Answer Background Color For Wrong Answer*/
[id^="ays-quiz-container-"] .wrong_answer_text {
    padding: 10px;
    background: #FEE;
    border: 3px solid #E57C7E;   
    border-radius: 20px;
}

/*AYS Quiz Answer Background Color For Right Answer*/
[id^="ays-quiz-container-"] .right_answer_text {
    background: #F2FFE5;
    padding: 10px;
    border: 3px solid #27ae6066;
    border-radius: 20px;
}

/*AYS Quiz Advanced User Dashboard Table Head To White*/
table#ays_quiz_user_dashboard_all_results th {
    color: #ffffff !important;
	padding-right: 20px !important;
}

/*AYS Quiz Advanced User Dashboard Table Data Border*/
table#ays_quiz_user_dashboard_all_results td{
	border: 1px solid #eaeaea !important;
}

/*AYS Quiz Advanced User Dashboard Results By Quiz Head Font*/
table[id*="ays_quiz_user_dashboard_results_by_quiz_"] thead th {
    color: #ffffff !important;
}

/*AYS Quiz Advanced User Dashboard Results By Quiz Details Button*/
.ays-quiz-user-dashboard-details {
    background: #6a2c70 !important;
    color: #ffffff !important;
}

/*AYS Quiz Advanced User Dashboard Results Export To PDF*/
.ays-quiz-user-dasboard-export-pdf{
	background: #6a2c70 !important;
}

div.ays-quiz-container[id^="ays-quiz-container-"]{
	padding-bottom: 5px;
}

@media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) {
    table#ays_quiz_user_dashboard_all_results td {
		
        padding-left: 2% !important;
        
    }
}

.ays-quiz-user-dashboard-check, .ays-quiz-user-dashboard-user-progress-check {
	background: #6a2c70 !important;
	margin-left: 5px;
}

.entry-content p {
	margin: 1px;
}

.entry-content p {
	margin-Bottom: 20px;
}

.ays-fs-subtitle {
	margin-top: 20px;
}

.ays_quiz_chained_quiz_button {
    margin: 20px auto; /* auto horizontally centers block elements */
    padding: 10px 20px;
    display: block; /* ensures it respects auto margins */
	background-color: #6a2c70;
    border: solid 1px #6a2c70;
}

.ays_lb_li th {
  color: #fff !important;
}

.ays-quiz-interval-message-image-box {
	max-width: 100% !important;
}

[id^="quiz-export-pdf-"] > div {
  display: none !important;
}

.nice-select.ays-quiz-user-dashboard-quizzes {
  width: 100%; /* or set a specific width like 300px */
  max-width: 100%;
}

.ays-quiz-user-dashboard-quizzes-div .list{
  width: 100% !important;
}



/****
QUIZ PLUGIN CSS END
***/


/****
MY BUYCRED PLUGIN CSS START
***/
.myCRED-buy-form .form-group {
    text-align: center; /* Center content inside form-group */
}


.form.myCRED-buy-form .form-group .form-control {
	width: 100%;
	border: solid 0.5px;
}

.myCRED-buy-form button {
    display: inline-block;
    padding: 12px 25px;
    background: #6a2c70;
    border: 1px solid white;
}

@media (max-width: 768px) { /* Target screens smaller than 768px */
    .buycred-mobile {
        padding: 10px !important; /* Reduce padding for mobile */
    }
}

.ays-text-right-answer {
	margin-bottom: 15px;
}

/****
MY BUYCRED PLUGIN CSS END
***/

/* Cashcred Withdrawal Page CSS */

#panel_bank h3{
	padding-bottom:15px;
	font-size:27px;
	padding-top:15px;
}

/* Paragraph */
#panel_bank .form-group p{
	padding-bottom:15px;
	padding-top:15px;
}

/* Form group */
#cashcred_tab_content form .form-group:nth-child(3){
	padding-bottom:30px;
}

/* Form group */
#cashcred_tab_content form .form-group:nth-child(4){
	padding-bottom:30px;
}

/* Form group */
#cashcred_tab_content #panel_bank .form-group:nth-child(5){
	padding-bottom:30px;
}

/* 768px and smaller screen sizes */
@media (max-width:768px){

	/* Heading */
	#panel_bank h3{
		font-size:24px;
		
	}
	
}

	
@media (max-width: 768px) {
    #cashcred_tab_content table {
        overflow-x: auto; 
        display: block;
        white-space: nowrap; /* Prevents text wrapping */
    }

    #cashcred_tab_content table {
        min-width: 100%; /* Ensures table remains scrollable */
        width: 100%;
    }
}



/* Heading */
#cashcred_tab_content h4{
	position:relative;
	top:0px;
	padding-left:9px;
}

/* Active */
#cashcred .active{
	background: #6a2c70! important;
	color:#ffffff;
}

/* Th */
.cashcred-table-heading tr th{
	background:#6a2c70 !important;
}

/* Th */
	#cashcred_tab_content tr th{
		background-color:#6a2c70;
	}

.cashcred-tab table .cashcred-table-content .cashcred-table-content td, #cashcred_tab_content tr td{
		color:#000;
}

/* Default for desktop */
#cashcred_tab_content h4 {
    padding-top: 20px !important;
    padding-bottom: 25px !important;
    font-size: 25px !important;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    #cashcred_tab_content h4 {
        font-size: 16px !important;
    }
}

/* Button */
/* Center Button */
#cashcred_save_settings {
    text-align: center; /* Centers inline elements like buttons */
}

#cashcred_save_settings .button {
    background-color: #6a2c70;
    padding: 10px 50px;
    font-size: 15px;
    margin-top: 40px !important;
    display: inline-block; /* Ensures it respects text alignment */
	border-color:#6a2c70;
}

/* Button */
#submit_button .button{
	padding-left:20px;
	padding-right:20px;
	padding-top:8px;
	padding-bottom:8px;
	background-color:#6a2c70;
	font-size:14px;
	border-color:transparent;
	
}

/* Withdraw points */
#withdraw_points{
	margin-bottom:20px;
	padding-bottom:12px;
}

/* Cashcred min */
.cashcred-min{
	padding-bottom:10px;
	
}


/* Submit button */
#submit_button{
	margin-top:18px;
}

/* My cashcred insufficient point notice */
p.cashcred-notice {
    color: red;
    padding-top: 15px;
    padding-bottom: 15px;
    font-weight: 500;
}


#cashcred {
    text-align: center; /* Centers inline/inline-block elements */
}

#cashcred ul.cashcred-nav-tabs {
    display: inline-block; /* Keeps it centered */
}


@media (max-width: 768px) { /* Target screens smaller than 768px */
    .cashcred-mobile {
        padding: 15px !important; /* Reduce padding for mobile */
    }
	
	#cashcred ul.cashcred-nav-tabs li {
		display: table-cell !important;
		line-height: 25px;
	}

}

/*===== End of Cashcred Withdrawal Page CSS =====*/



/*TransferCred Page CSS*/

#mycred-transfer-form-transfer .select-recipient-wrapper input[type=text], #mycred-transfer-form-transfer .select-amount-wrapper input[type=text]{
	width: 70%;
	height:40px;
	border-color:#6a2c70;
	border-width:1px;
}

@media (max-width: 768px) { /* Adjust for mobile screens */
    
	
	#mycred-transfer-form-message-field {
		width: 60%;
	}
}


#mycred-transfer-form-message-field{
	width: 70%;
	height:40px;
	border-color:#6a2c70;
	border-width:1px;
}

form#mycred-transfer-form-transfer {
    background: #ffffff;
     padding: 0;
     box-shadow: none;
     border-radius: none;
}


/* Button */
.mycred-submit-transfer {
    display: block; /* Ensures it's a block element */
    width: auto; /* Removes full width from btn-block */
    margin: 30px auto 25px auto; /* Centers it horizontally */
    padding: 15px;
    font-size: 15px;
    background: #6a2c70;
    border: none;
    text-align: center;
}

/* Transfer fee */
#mycred-transfer-form-transfer .my-transfer-fee{
	display:inline-block;
	font-weight:700;
	
}

@keyframes swing {
    0% { transform: rotate(5deg); }
    50% { transform: rotate(-5deg); }
    100% { transform: rotate(5deg); }
}

.transfer-bounce {
    display: inline-block;
    animation: swing 1.5s infinite ease-in-out;
    transform-origin: top center !important;
	text-transform: capitalize;
    color: #fff;
    background-image: url(../../uploads/geopattern.png), linear-gradient(to right, #24C6DC, #E91E63);
    padding: 8px 12px;
    border-radius: 8px;
    border: 2px solid #d63400;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.transfer-bounce:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 105, 180, 0.5);
}


/*===== End of TransferCred Page CSS =====*/


/****
YOUZIFY PLUGIN CSS START
***/

/*Padding Bottom On Phone To Create Gap*/
@media (max-width: 768px) {
    .youzify-tab.youzify-custom {
    padding-bottom: 10%;
}
}

/*Buy, Withdraw, Transfer OMGCOIN heading subtitle font*/
p.buy-omgcoins-text {
	font-size: 17px;
	line-height: 24px;
}

/** Youzify Z-index header for Quiz Result Settings **/
body.detailed-results .youzify-page-main-content {
z-index: unset !important;
}

/** Youzify Nav Bar Font Size **/
.youzify-profile-navmenu .youzify-navbar-item a {
	font-size: 16px;
	text-transform: none;
	min-width: auto;
}

/** Space Youzify Navigation Menu Evenly**/
body .youzify .youzify-profile-navmenu {
    justify-content: space-evenly;
}


/** Continue Youzify Profile Animation **/
.youzify-profile-photo-effect .youzify-profile-img:after{
-webkit-animation: sonarEffect 1.3s ease-out 75ms infinite;
-moz-animation: sonarEffect 1.3s ease-out 175ms infinite;
animation: sonarEffect 1.3s ease-out 75ms infinite;
}

/** Youzify Post Thumbnail Height To Auto**/
.youzify-post-thumbnail img {
	height: auto;
}

/** Youzify Read More Text**/
.youzify-tab-post .youzify-read-more {
	font-size: 14px;
}

.youzify-navbar-item a[href*="points-history"] i::before {
    content: "\f51e"; /* Example: FontAwesome 'fa-coins' */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

/* Change Friends Icon */
.youzify-friends-btn .dashicons {
    display: none; /* Hide the default Dashicon */
}
.youzify-friends-btn {
    position: relative;
}
.youzify-friends-btn::before {
    content: "\f500"; /* FontAwesome user-friends */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 18px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Change Messages Icon */
.youzify-messages-btn .dashicons {
    display: none;
}
.youzify-messages-btn {
    position: relative;
}
.youzify-messages-btn::before {
    content: "\f27a"; /* FontAwesome envelope */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 18px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Change Notifications Icon */
.youzify-notification-btn .fas {
    display: none;
}
.youzify-notification-btn {
    position: relative;
}
.youzify-notification-btn::before {
    content: "\f0f3"; /* FontAwesome bell */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 18px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.youzify-social-buttons .youzify-follow-message-button .youzify-send-message span {
	display: inline-block;
}

/**Hide youzify nav bar profile settings menu **/
.youzify-nav-settings {
    display: none;
} 

/** Youzify correct Add Friend, Message and Follow button display on phone **/
@media screen and (max-width: 768px) {
    .youzify .youzify-profile-navmenu .youzify-navbar-item a .count {
        float:right
    }

    #youzify-profile-navmenu .youzify-settings-area {
        right: 25px
    }

    #youzify-profile-navmenu .youzify-social-buttons {
        top: initial;
        right: initial;
        clear: both;
        float: none;
        padding: 25px;
        display: block;
        margin-top: 25px;
        position: initial;
        border-top: 1px solid #f6f6f6
    }
}	

.youzify-head-content .youzify-user-status {
	margin-left: 5px;
}

body #youzify-profile-navmenu .youzify-quick-buttons {
    display: flex
;
    align-items: center;
    height: 65px;
}

body .youzify-membership-form a.youzify-membership-link-button {
	background-color: #55a5c0;
}

.youzify-membership-form .youzify-membership-form-actions button {
	background-color: #6a2c70;
}

#youzify .editfield input:not([type=radio]):not([type=checkbox]):not( .ed_button ), 
#youzify .editfield textarea {
	border: 1px solid #cfcfcf;
	background-color: #eaeaea;
}

#youzify_membership_signup_form input[type=password],
#youzify_membership_signup_form input[type=text], 
#youzify_membership_signup_form input[type=email], 
#youzify_membership_signup_form input[type=number] {
	border: 1px solid #cfcfcf;
	background-color: #eaeaea;
}

input:not([type=radio], 
[type=checkbox], [type=submit], 
[type=image], .ed_button, 
.youzify-search-input-with-dropdown *):hover, 
textarea:hover {
    color: #333 !important;
}

body.youzify-membership-login-page .form-title h2 {
	color: unset;
    font-size: 1.25rem;
    font-weight: 600;
}

body .youzify-membership-form .form-title h2 {
    color: unset;
    font-size: 1.25rem;
    font-weight: 600;
}

body .youzify-membership-form .youzify-membership-form-desc {
	Font-Size: unset;
}

.youzify-popup-login {
    backdrop-filter: blur(2px);
}

@media screen and (max-width: 1024px) {
    .youzify-horizontal-layout .youzify-page-main-content {
        padding: 15px 5px 0 !important;
    }
}


/****
YOUZIFY PLUGIN CSS END
***/


/* LIST-VIEW The Default Tab Displayed User Play Activities List */
.list-view .quiz-results-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 700px;
    margin: auto;
    font-family: Arial, sans-serif;
}

/* Quiz Result Card */
.list-view .omgfan-quiz-result {
    display: flex;
    align-items: stretch; /* Ensures all items take full height */
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 15px;
    background: #fff;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
}

.list-view .omgfan-quiz-result:hover {
    background: #f9f9f9;
}

/* Quiz Image */
.list-view .quiz-image {
    height: 100%; /* Matches the height of .omgfan-quiz-result */
    aspect-ratio: 2 / 1; /* Enforces 2:1 ratio */
    object-fit: cover;
    border-radius: 10px;
    margin-right: 15px;
    flex-shrink: 0;
    width: 170px;
}

/* ===== GRID VIEW FOOTER FIX ===== */
.grid-view .omgfan-quiz-result {
  display: flex;
  flex-direction: column; /* Stack children vertically */
  height: 100%; /* Fill grid cell height */
}

.grid-view .quiz-content {
  flex: 1; /* Grow to push footer down */
  display: flex;
  flex-direction: column;
  padding-bottom: 10px; /* Optional spacing */
}

.grid-view .quiz-footer {
  margin-top: auto; /* Anchor to bottom */
  width: 100%;
  /* Keep your existing styles below */
  font-size: 12px;
  color: #555;
  display: flex;
  justify-content: space-between;
  padding: 10px 15px;
  border-top: 1px solid #eee; /* Visual separation */
}


/* Quiz Info */
.list-view .quiz-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures consistent spacing */
}

/* Quiz Points */
.list-view .quiz-points {
    font-weight: bold;
    font-size: 16px;
    color: #444;
    margin-bottom: 15px !important;
    text-decoration: underline;
}

/* Quiz Title */
.list-view .quiz-title {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Quiz Footer */
.list-view .quiz-footer {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Keep items aligned properly */
    font-size: 0.9em;
    color: #777;
    margin-top: 10px; /* Pushes it to the bottom */
    min-height: 24px; /* Ensure it always has some height */
}

/* Quiz Time */
.list-view .quiz-time {
    color: #777;
}

/* Quiz Percentage */
.list-view .quiz-percentage {
    font-weight: bold;
    font-size: 1em;
    display: flex;
    align-items: center;
    color: #555;
    gap: 5px;
}

@media (max-width: 768px) {
    .list-view .quiz-image {
        margin-top: 30px;
        width: 150px;
    }

    .list-view .quiz-title {
        font-size: 13px;
    }
}


/*********/

/* GRID-VIEW The Default Tab Displayed User Play Activities GRID */

.grid-view .quiz-results-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%; /* Ensure it expands fully */
}

.grid-view #quiz-results-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Adjusts dynamically */
    gap: 20px;
    width: 100%; /* Ensures it expands */
}

.grid-view .omgfan-quiz-result {
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
    text-align: center;
}

.grid-view .omgfan-quiz-result:hover {
    transform: translateY(-5px);
}

.grid-view .quiz-image {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #ddd;
}

.grid-view .quiz-content {
    padding: 5px;
}

.grid-view .quiz-title {
    font-weight: bold;
    text-decoration: none;
    color: #222;
    display: block;
    margin: 5px 0;
}

.grid-view .quiz-points {
    font-size: 15px;
    color: #222;
	margin-top: 10px;
    margin-bottom: 15px;
	font-weight: 600;
}

.grid-view .quiz-footer {
    font-size: 14px;
    color: #555;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

/* Center the button properly */
.grid-view .quiz-results-container {
    text-align: center;
}

.grid-view #view-all-results {
    display: inline-block;
    padding: 10px 20px;
    background: #6a2c70;
    color: white;
    border: solid 1px white;
    cursor: pointer;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    transition: 0.3s;
    margin-top: 20px; /* Keeps it positioned below the grid */
}

/* Ensure grid adjusts dynamically */
@media (max-width: 600px) {
    .grid-view #quiz-results-list {
        grid-template-columns: 1fr;
    }
}

/* View Switch */
/* View Switch */
.view-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 10px; /* Add padding inside the border */
    border: 1px solid #ddd; /* Add a border */
    border-radius: 8px; /* Rounded corners */
    background: #f9f9f9; /* Light background color */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.switch-label {
    font-size: 14px;
    color: #555;
}

.switch-icon {
    cursor: pointer;
    padding: 8px;
    border-radius: 5px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.2s ease;
}

.switch-icon:hover {
    background: #e0e0e0;
    transform: scale(1.1);
}

.switch-icon.active {
    background: #6a2c70;
    color: white;
}

.switch-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.switch-icon i {
    font-size: 18px;
}

/* Detailed Report Link with Icon and Text */
.detailed-report-link {
    margin-left: auto; /* Push it to the far right */
    text-decoration: none; /* Remove underline */
}

.detailed-report-link .switch-icon {
    display: flex;
    align-items: center;
    gap: 8px; /* Space between icon and text */
    background: #6a2c70; /* Match your active button color */
    color: white; /* White icon and text */
    padding: 8px 12px; /* Adjust padding for text */
    border-radius: 5px; /* Match your existing button style */
    transition: background 0.3s ease, transform 0.2s ease;
}

.detailed-report-link .switch-icon:hover {
    background: #5a1c60; /* Slightly darker on hover */
    transform: scale(1.05); /* Subtle hover effect */
}

/* Text styling */
.detailed-report-link .detailed-report-text {
    font-size: 14px;
    font-weight: 500;
}

/* Ensure the detailed report stays on the right on mobile */
/* Show text label on mobile */
@media (max-width: 768px) {
    .detailed-report-link .detailed-report-text {
        display: inline; /* Show text on mobile */
    }

    .detailed-report-link .switch-icon {
        padding: 8px 12px; /* Adjust padding for text */
    }
}

/* Pagination container */
.quiz-pagination {
    display: flex;
    align-items: center; /* Vertically center items */
    justify-content: center; /* Center the pagination */
    gap: 8px; /* Space between elements */
    margin-top: 20px; /* Add some space above the pagination */
}

/* Page info text */
.quiz-pagination .page-info {
    font-size: 16px;
    margin-right: 10px; /* Add space between the text and the links */
}

/* Style for each pagination link */
.quiz-pagination {
    display: flex;
    align-items: center; /* Vertically center items */
    justify-content: center; /* Center the pagination */
    gap: 8px; /* Space between elements */
    margin-top: 20px; /* Add some space above the pagination */
    padding: 10px; /* Add padding inside the container */
    background-color: #f8f8f8; /* Light gray background color */
    border-radius: 8px; /* Rounded corners for the container */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Page info text */
.quiz-pagination .page-info {
    font-size: 16px;
    margin-right: 10px; /* Add space between the text and the links */
    color: #333; /* Dark text color */
}

/* Style for each pagination link */
.quiz-pagination .quiz-page-link {
    padding: 8px 12px; /* Remove padding to avoid pushing text down */
    background: #f0f0f0; /* Default background color */
    color: #333; /* Default text color */
    text-decoration: none; /* Remove underline from links */
    border-radius: 16px; /* Rounded corners */
    transition: background 0.3s ease, color 0.3s ease; /* Smooth hover effect */
    height: 45px; /* Fixed height */
    line-height: 45px; /* Match line-height to height for vertical centering */
    display: inline-flex; /* Use flexbox for alignment */
    align-items: center; /* Center text vertically */
    justify-content: center; /* Center text horizontally */
    text-align: center; /* Center text horizontally (fallback) */
    font-size: 15px; /* Font size */
    border: 2px solid #6a2c70; /* Add a border */
    text-transform: uppercase; /* Uppercase text */
}

/* Style for numbered links only */
.quiz-pagination .quiz-page-link:not(.prev-next) {
    
    width: 45px; /* Fixed width */
}

/* Hover effect for pagination links */
.quiz-pagination .quiz-page-link:hover {
    background: #6a2c70; /* Darker background on hover */
    color: #fff; /* White text on hover */
}

/* Style for the active pagination link */
.quiz-pagination .quiz-page-link.active {
    background: #6a2c70; /* Active link background */
    color: #fff; /* Active link text color */
}

/* Style for Previous and Next links */
.quiz-pagination .quiz-page-link.prev-next {
    background: #6a2c70; /* Different background color */
    font-weight: bold; /* Make the text bold */
    margin: 0 5px; /* Add some spacing */
	color: #fff;
}

/* Hover effect for Previous and Next links */
.quiz-pagination .quiz-page-link.prev-next:hover {
    background: #6a2c70; /* Darker background on hover */
    color: #fff; /* White text on hover */
}

#view-all-results {
    padding: 12px 24px; /* Slightly larger for better clickability */
    background: #24C6DC; /* Fallback for older browsers */
    background: #6a2c70; /* Standard */
    color: #fff;
    font-size: 16px;
    font-weight: 600; /* Makes text slightly bolder */
    text-transform: uppercase;
    letter-spacing: 0.5px; /* Improves readability */
    border: 2px solid rgba(106, 44, 112, 0.3); /* Semi-transparent border */
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* Smoother transition */
    display: block;
    margin: 20px auto; /* Centering */
    text-align: center !important;
    text-decoration: none; /* In case it's an <a> tag */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    position: relative;
    overflow: hidden; /* For potential pseudo-element effects */
}

#view-all-results:hover {
    background: #E91E63; /* Fallback */
    background: #6a2c90; /* Standard */
    border-color: rgba(106, 44, 112, 0.5); /* Darker border on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
    transform: translateY(-1px); /* Slight lift effect */
}

#view-all-results:active {
    transform: translateY(0); /* Push down effect when clicked */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); /* Flatten shadow when pressed */
}

a#buy-points .fas.fa-globe {
	display: none !important;
}

/*Hides all admin notices, except for the Ultimate Dashboard PRO page builder template. */
 .notice:not(.udb-page-builder-template) {
     display: none;
 }
 /* Hides WordPress core update notification. */
 .update-nag {
     display: none;
 }
 
 
 
 
 
 
 
 
 
/* ===== BASE STYLES ===== */
.user-quiz-no-profile,
.user-quiz-no-results {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

.user-quiz-container {
    
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ===== VIEW SWITCH ===== */
.user-quiz-view-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 10px 0;
}

/* === Three column switch enhancement === */
.user-quiz-view-switch.three-column-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 1.5em;

  background-color: #f9faff;       /* Very light blue background */
  padding: 12px 25px;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgb(0 0 0 / 0.08);
  border: 1px solid #d7e0f4;
  user-select: none;
}

.user-quiz-view-switch .switch-left,
.user-quiz-view-switch .switch-center,
.user-quiz-view-switch .switch-right {
  flex: 1 1 0;
}

.user-quiz-view-switch .switch-center {
  text-align: center;
  font-weight: 600;
  font-size: 1.25rem;
  color: #2e3a59;                  /* Dark slate blue */
  user-select: text;
  letter-spacing: 0.03em;
}

.user-quiz-view-switch .switch-left {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
}

.user-quiz-view-switch .switch-right {
  /* Placeholder for future content, keep empty or center right-aligned */
}

/* ===== SWITCH LABEL ===== */
.user-quiz-switch-label {
    font-size: 14px;
    color: #495057;
    font-weight: 500;
    margin-right: 5px;
}

/* ===== SWITCH BUTTONS ===== */
.user-quiz-switch-btn {
    background: #e3e8f4;            /* Soft pastel blue */
    border: none;
    padding: 9px 16px;
    border-radius: 7px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    color: #4a4f68;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    box-shadow: 0 1px 3px rgb(0 0 0 / 0.1);
}

.user-quiz-switch-btn:hover,
.user-quiz-switch-btn:focus {
    background-color: #c6d3f0;      /* Slightly darker on hover */
    color: #2a3a70;
    outline: none;
    box-shadow: 0 2px 6px rgb(0 0 0 / 0.15);
}

.user-quiz-switch-btn.active {
    background-color: #6a2c70;      /* Strong blue for active */
    color: #fff;
    cursor: default;
    box-shadow: 0 3px 8px rgb(78 97 200 / 0.6);
}

.user-quiz-switch-btn svg,
.user-quiz-switch-btn i {
    pointer-events: none;
    width: 18px;
    height: 18px;
}

/* ===== LIST VIEW ===== */
.user-quiz-list-view .user-quiz-item {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.user-quiz-list-view .user-quiz-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.user-quiz-list-view .user-quiz-image-link {
    flex: 0 0 200px;
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 2/1;
}

.user-quiz-list-view .user-quiz-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: rgb(106 44 112 / 22%);
    transition: transform 0.3s;
}

.user-quiz-list-view .user-quiz-image-placeholder {
    width: 100%;
    height: 100%;
    background: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 40px;
    aspect-ratio: 2/1;
}

.user-quiz-list-view .user-quiz-image-link:hover .user-quiz-image {
    transform: scale(1.03);
}

.user-quiz-list-view .user-quiz-details {
    flex: 1;
    padding: 15px 20px 15px 0;
    display: flex;
    flex-direction: column;
}

.user-quiz-list-view .user-quiz-status {
    align-self: flex-start;
    margin-bottom: 8px;
}

.user-quiz-list-view .user-quiz-title {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    margin: 0 0 10px;
    line-height: 1.4;
}

.user-quiz-list-view .user-quiz-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.user-quiz-list-view .user-quiz-title a:hover {
    color: #6a2c70;
}

.user-quiz-list-view .user-quiz-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

/* ===== GRID VIEW ===== */
.user-quiz-grid-view {
    display: grid;
    gap: 20px;
}

.user-quiz-grid-view .user-quiz-item {
	display: flex;
	flex-direction: column;
	height: 100%;
	position: relative;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.user-quiz-grid-view .user-quiz-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.user-quiz-grid-view .user-quiz-image-link {
    display: block;
    position: relative;
    padding-top: 50%; /* 2:1 aspect ratio */
    overflow: hidden;
}

.user-quiz-grid-view .user-quiz-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f8f9fa;
    transition: transform 0.3s;
}

.user-quiz-grid-view .user-quiz-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 40px;
}

.user-quiz-grid-view .user-quiz-image-link:hover .user-quiz-image {
    transform: scale(1.05);
}

.user-quiz-grid-view .user-quiz-details {
	Padding: 12px;
	flex: 1;
    display: flex;
    flex-direction: column;
    padding-bottom: 40px; /* Space for footer */
}

.user-quiz-grid-view .user-quiz-status {
    margin-bottom: 8px;
	text-align: center;
}

.user-quiz-grid-view .user-quiz-title {
    font-size: 15px;
    font-weight: 600;
    color: #212529;
    margin: 0 0 10px;
    overflow: hidden;
}

.user-quiz-grid-view .user-quiz-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.user-quiz-grid-view .user-quiz-title a:hover {
    color: #6a2c70;
}

.user-quiz-grid-view .user-quiz-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.9); /* Semi-transparent background */
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

/* ===== STATUS INDICATORS ===== */
.user-quiz-status {
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-block;
}

.user-quiz-played {
    background: #e6f7ee;
    color: #28a745;
}

.user-quiz-not-played {
    background: #fff3cd;
    color: #856404;
}

/* ===== PAGINATION ===== */
.user-quiz-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding: 20px 0;
    flex-wrap: wrap;
}

.user-quiz-page-info {
    font-size: 14px;
    color: #495057;
    margin-right: 12px;
}

.user-quiz-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 6px;
    background: #f8f9fa;
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.user-quiz-page-link:hover {
    background: #e9ecef;
}

.user-quiz-page-link.user-quiz-active {
    background: #6a2c70;
    color: white;
}

.user-quiz-page-link.user-quiz-prev,
.user-quiz-page-link.user-quiz-next {
    padding: 0 12px;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 600px) {
    .user-quiz-grid-view {
        grid-template-columns: 1fr;
    }

    /* Keep list view horizontal on mobile */
    .user-quiz-list-view .user-quiz-item {
        flex-direction: row;
        gap: 10px;
    }

    .user-quiz-list-view .user-quiz-image-link {
        flex: 0 0 40%;
        max-width: 150px; /* Respect medium size setting */
        aspect-ratio: 2 / 1;
    }

    .user-quiz-list-view .user-quiz-image {
        object-fit: contain;
    }

    .user-quiz-list-view .user-quiz-details {
        flex: 1;
        padding: 10px;
    }

    .user-quiz-list-view .user-quiz-title {
        font-size: 13px !important;
    }

    .user-quiz-list-view .user-quiz-footer,
    .user-quiz-grid-view .user-quiz-footer {
        font-size: 12px !important;
    }

    .user-quiz-view-switch {
        justify-content: center;
    }
	
	.far.fa-calendar-alt {
    font-size: 12px; /* or any size you want */
	}
	
	.fas.fa-trophy {
    font-size: 12px; /* adjust as needed */
	}
}

@media (min-width: 601px) and (max-width: 900px) {
    .user-quiz-grid-view {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 901px) {
    .user-quiz-grid-view {
        grid-template-columns: repeat(3, 1fr);
    }
}



