.ds_center {
	text-align: center;
}

.logged-in .logged_in_hide {
	display: none;
}
.logged-out .logged_out_hide {
	display: none;
}
body[data-elementor-device-mode="desktop"] .desktop_hide {
	display: none;
}

/* Leaderboard Wrapper */
.leaderboard_wrapper {
    width: 100%;
    overflow-x: auto;
    display: flex;
    justify-content: center; /* Centering */
}

/* Leaderboard Table */
.leaderboard_table {
    width: 100%;
    min-width: 600px; /* Minimum width */
    border-collapse: collapse;
    text-align: left;
    font-size: 1rem;
    background: #fff;
}

/* Table Header */
.leader_title_row {
    background: #e0e0e0; /* Light gray header */
    color: #333;
    font-weight: bold;
}

/* Alternating Row Colors */
.leader_row:nth-child(even) {
    background: #f9f9f9;
}

/* Table Cells */
.leader_cell {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: center;
}

.leader_cell:first-child {
    width: 15%;
}

.leader_cell:nth-child(2) {
    width: 55%;
    text-align: left;
}

.leader_cell:nth-child(3) {
    width: 30%;
    font-weight: bold;
}

/* Mobile Styling */
@media screen and (max-width: 480px) {
    .leaderboard_table {
        font-size: 0.9rem;
    }

    .leader_cell {
        padding: 8px;
    }
}

/* points earned popup */

#ds_points_earned_popup {
	position: absolute;
	top: 75px;
	left: 50%;
	margin-left: -200px;
	width: 350px;
	height: auto;
	padding: 20px 30px 50px 30px;
	background: #fff;
	text-align: center;	
	border: solid 1px #ccc;
	border-radius: 2px;
	box-shadow: 0 0 10px #000;
	z-index: 9999;
	display: none;
}
@media screen and (max-width: 400px){
	#ds_points_earned_popup {
		left: 0px;
		margin-left: 0px;
		margin:15px;
		width: 90%;
		height: 360px;
	}
}
#ds_points_earned_title {
	font-size: 28px;
	font-weight: 500;
	margin-top: -200px;
}
#ds_points_earned_close {
	position: absolute;
	top: 0px;
	right: 0px;
	height: 35px;
	width: 35px;
	background-image: url(/wp-content/plugins/vario-scavenger-hunt/img/close.png);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	cursor: pointer;
}

/* gravity forms */

.gfield_description {
	padding-top: 0px !important;
}

/* report */

.ds_report {
	display: table;
	margin: auto;
}
.ds_report_row {
	display: table-row;
}
.ds_report_cell {
	display: table-cell;
	padding: 5px 15px;
}
.ds_report_row:nth-child(odd) .ds_report_cell {
	background: #f5f5f5;
}

.post-password-form {
	margin: auto;
	padding: 100px;
}
.post-password-form [type=submit] {
	vertical-align: bottom;
}