.weekly-picks-container {
    max-width: 600px;
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
}

.weekly-picks-container h3 {
    margin-top: 0;
    color: #333;
}

.weekly-pick-form {
    margin-top: 20px;
}

.weekly-pick-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.weekly-pick-form input[type="text"],
.weekly-pick-form input[type="email"],
.weekly-pick-form input[type="password"],
.weekly-pick-form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
}

.weekly-pick-form input[type="submit"] {
    background: #0073aa;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.weekly-pick-form input[type="submit"]:hover {
    background: #005a87;
}

/* Password toggle button styling */
.password-field-wrapper {
    position: relative;
}

.password-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-group input[type="password"],
.password-input-group input[type="text"] {
    flex: 1;
    padding-right: 55px; /* Make room for the toggle button */
}

.password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    font-size: 12px;
    line-height: 1;
    color: #666;
    border-radius: 3px;
    transition: background-color 0.2s ease, color 0.2s ease;
    z-index: 10;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.password-toggle:hover {
    background-color: #f0f0f0;
    color: #0073aa;
}

.password-toggle:focus {
    outline: 2px solid #0073aa;
    outline-offset: 1px;
}

.password-toggle:active {
    background-color: #e0e0e0;
}

/* Ensure text labels are properly sized */
.password-toggle .show-icon,
.password-toggle .hide-icon {
    display: inline-block;
    font-size: inherit;
    line-height: inherit;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .password-toggle {
        right: 6px;
        padding: 6px;
        font-size: 18px;
    }
    
    .password-input-group input[type="password"],
    .password-input-group input[type="text"] {
        padding-right: 60px;
    }
}

.weekly-picks-auth-container {
    max-width: 400px;
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
}

.weekly-picks-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 2px solid #ddd;
}

.tab-button {
    flex: 1;
    padding: 10px 15px;
    background: #f5f5f5;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.tab-button:hover {
    background: #e9e9e9;
}

.tab-button.active {
    background: #fff;
    border-bottom-color: #0073aa;
    font-weight: bold;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.weekly-picks-user-info {
    padding: 10px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 3px;
    color: #155724;
}

.user-pick-submitted {
    margin-top: 20px;
    padding: 15px;
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    border-radius: 3px;
}

.user-pick-submitted h4 {
    margin-top: 0;
    color: #0c5460;
}

#weekly-pick-message,
#weekly-picks-login-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 3px;
}

.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Legs styling */
.leg-selection {
    margin-bottom: 25px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
}

.leg-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.leg-selection h5 {
    margin: 0;
    color: #0073aa;
    font-size: 16px;
}

.leg-pool {
    background: #e7f3ff;
    color: #0073aa;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    border: 1px solid #0073aa;
}

.leg-question {
    margin-bottom: 15px;
    font-weight: 500;
    color: #333;
}

.leg-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-label {
    display: flex;
    align-items: flex-start;
    padding: 10px;
    border: 2px solid #e1e1e1;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-label:hover {
    border-color: #0073aa;
    background: #f0f8ff;
}

.option-label input[type="radio"] {
    margin-right: 10px;
    margin-top: 2px;
}

.option-label input[type="radio"]:checked + .option-text {
    font-weight: bold;
    color: #0073aa;
}

.option-label:has(input[type="radio"]:checked) {
    border-color: #0073aa;
    background: #f0f8ff;
}

.option-text {
    flex: 1;
    line-height: 1.4;
}

.instructions {
    font-style: italic;
    color: #666;
    margin-bottom: 20px;
}

.submit-section {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #ddd;
}

.submit-picks-button {
    background: #0073aa !important;
    color: white !important;
    padding: 12px 30px !important;
    font-size: 16px !important;
    font-weight: bold;
    border: none !important;
    border-radius: 5px !important;
    cursor: pointer;
}

.submit-picks-button:hover {
    background: #005a87 !important;
}

/* Submitted picks styling */
.submitted-leg {
    margin-bottom: 15px;
    padding: 10px;
    background: #f0f8ff;
    border-left: 4px solid #0073aa;
    border-radius: 3px;
}

.submitted-leg-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.leg-pool-display {
    background: #d4edda;
    color: #155724;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: bold;
    border: 1px solid #c3e6cb;
}

.selected-option {
    color: #0073aa;
    font-weight: bold;
}

.notice {
    padding: 10px 15px;
    margin: 15px 0;
    border-radius: 3px;
}

.notice-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

/* Wager interface styling */
.game-info {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
}

.player-stats {
    font-size: 14px;
    margin-bottom: 10px;
}

.wager-summary {
    background: #e7f3ff;
    padding: 15px;
    border: 2px solid #0073aa;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.wager-summary p {
    margin: 5px 0;
    font-size: 16px;
}

.wager-input {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #e1e1e1;
}

.wager-input label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.wager-input input[type="number"] {
    width: 120px;
    padding: 8px;
    border: 2px solid #0073aa;
    border-radius: 3px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

.wager-input input[type="number"]:focus {
    outline: none;
    border-color: #005a87;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.3);
}

/* Wager input container with buttons - for all devices */
.wager-input-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.wager-btn {
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.wager-btn:hover {
    background: #005a87;
    transform: scale(1.05);
}

.wager-btn:active {
    transform: scale(0.95);
    background: #004a70;
}

.wager-decrement {
    order: 1;
}

.wager-input-container input[type="number"] {
    order: 2;
    width: 120px !important;
}

.wager-increment {
    order: 3;
}

.wagered-amount {
    color: #0073aa;
    font-weight: bold;
    font-size: 14px;
}

/* Player history styling */
.weekly-picks-history-container {
    max-width: 900px;
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
}

/* Responsive table wrapper for all screen sizes */
.weekly-picks-history-container .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.weekly-picks-history-container table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.weekly-picks-history-container th,
.weekly-picks-history-container td {
    padding: 12px 10px;
    text-align: left;
    border: 1px solid #ddd;
    vertical-align: middle;
}

.weekly-picks-history-container th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.weekly-picks-history-container tbody tr:nth-child(even) {
    background: #f9f9f9;
}

.weekly-picks-history-container tbody tr:hover {
    background: #f0f8ff;
}

/* Center actions column in history table */
.weekly-picks-history-container th:last-child,
.weekly-picks-history-container td:last-child {
    text-align: center;
    white-space: normal;
}

/* Style the action buttons consistently */
.weekly-picks-history-container .button-small {
    padding: 8px 16px;
    font-size: 12px;
    white-space: nowrap;
    display: inline-block;
    box-sizing: border-box;
}

.status-badge {
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.status-badge.status-active {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-badge.status-locked {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-badge.status-completed {
    background: #e2e3e5;
    color: #6c757d;
    border: 1px solid #ced4da;
}

.status-badge.status-inactive {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Submission detail view styling */
.submission-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.summary-item {
    padding: 10px 0;
}

.result-leg {
    margin-bottom: 25px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
}

.result-leg-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.result-leg-header h5 {
    margin: 0;
    color: #0073aa;
    font-size: 16px;
}

.result-badges {
    display: flex;
    gap: 10px;
}

.result-badge {
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
}

.result-badge.won {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.result-badge.lost {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.result-badge.pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.winnings-badge {
    background: #d1ecf1;
    color: #0c5460;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
    border: 1px solid #bee5eb;
}

.choice-display,
.wager-display,
.winnings-display,
.winning-choice {
    margin: 10px 0;
    padding: 8px 0;
}

.selected-choice {
    color: #0073aa;
    font-weight: bold;
}

.winning-choice {
    background: #f0f8ff;
    padding: 10px;
    border-left: 4px solid #0073aa;
    border-radius: 3px;
}

/* Multiple submissions styling */
.user-submissions-section {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
}

.user-submission {
    margin-bottom: 15px;
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.user-submission h5 {
    margin: 0 0 10px 0;
    color: #0073aa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.submission-total {
    font-size: 12px;
    color: #666;
    font-weight: normal;
}

.submission-time {
    font-size: 11px;
    color: #999;
    font-weight: normal;
}

.submission-legs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.submitted-leg-compact {
    padding: 8px;
    background: #f0f8ff;
    border-radius: 3px;
    font-size: 13px;
}

.submitted-leg-compact .selected-option {
    margin: 0 5px;
}

.submitted-leg-compact .wagered-amount {
    font-size: 11px;
    color: #666;
}

/* Jackpot shortcode styling */
.weekly-picks-jackpot-display {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    color: white;
    margin: 20px 0;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}

.jackpot-title {
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.jackpot-amount-large {
    font-size: 48px;
    font-weight: bold;
    margin: 15px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.points-text {
    font-size: 24px;
    opacity: 0.9;
}

.jackpot-description {
    margin: 15px 0 0 0;
    font-size: 14px;
    opacity: 0.9;
    font-style: italic;
}

.weekly-picks-jackpot-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f39c12;
    color: white;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.3);
}

.jackpot-label {
    opacity: 0.9;
}

.jackpot-amount {
    font-size: 16px;
    font-weight: bold;
}

/* Leaderboard Container Styling */
.weekly-picks-leaderboard-container,
.weekly-picks-roi-leaderboard-container,
.weekly-picks-balance-leaderboard-container,
.weekly-picks-correct-picks-leaderboard-container {
    max-width: 500px;
    margin: 20px auto;
    padding: 25px;
    border: 1px solid #e1e5eb;
    border-radius: 12px;
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.weekly-picks-leaderboard-container h3,
.weekly-picks-roi-leaderboard-container h3,
.weekly-picks-balance-leaderboard-container h3,
.weekly-picks-correct-picks-leaderboard-container h3 {
    margin: 0 0 20px 0;
    color: #2c3e50;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

/* Consistent table styling for leaderboards */
.weekly-picks-leaderboard-container .table-responsive,
.weekly-picks-roi-leaderboard-container .table-responsive,
.weekly-picks-balance-leaderboard-container .table-responsive,
.weekly-picks-correct-picks-leaderboard-container .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.weekly-picks-leaderboard-container table,
.weekly-picks-roi-leaderboard-container table,
.weekly-picks-balance-leaderboard-container table,
.weekly-picks-correct-picks-leaderboard-container table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.weekly-picks-leaderboard-container th,
.weekly-picks-leaderboard-container td,
.weekly-picks-roi-leaderboard-container th,
.weekly-picks-roi-leaderboard-container td,
.weekly-picks-balance-leaderboard-container th,
.weekly-picks-balance-leaderboard-container td,
.weekly-picks-correct-picks-leaderboard-container th,
.weekly-picks-correct-picks-leaderboard-container td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid #e1e5eb;
}

.weekly-picks-leaderboard-container th,
.weekly-picks-roi-leaderboard-container th,
.weekly-picks-balance-leaderboard-container th,
.weekly-picks-correct-picks-leaderboard-container th {
    background: linear-gradient(to bottom, #4a90e2, #357abd);
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.weekly-picks-leaderboard-container tbody tr:nth-child(even),
.weekly-picks-roi-leaderboard-container tbody tr:nth-child(even),
.weekly-picks-balance-leaderboard-container tbody tr:nth-child(even),
.weekly-picks-correct-picks-leaderboard-container tbody tr:nth-child(even) {
    background: #fafbfc;
}

.weekly-picks-leaderboard-container tbody tr:hover,
.weekly-picks-roi-leaderboard-container tbody tr:hover,
.weekly-picks-balance-leaderboard-container tbody tr:hover,
.weekly-picks-correct-picks-leaderboard-container tbody tr:hover {
    background: #e8f4fd;
    transition: background 0.2s ease;
}

.weekly-picks-leaderboard-container tbody tr:last-child td,
.weekly-picks-roi-leaderboard-container tbody tr:last-child td,
.weekly-picks-balance-leaderboard-container tbody tr:last-child td,
.weekly-picks-correct-picks-leaderboard-container tbody tr:last-child td {
    border-bottom: none;
}

.rank-column {
    width: 15%;
    text-align: center;
    min-width: 60px;
}

.player-column {
    width: 50%;
    padding-left: 15px;
}

.roi-column,
.metric-column {
    width: 35%;
    text-align: right;
    padding-right: 15px;
}

.rank-cell {
    text-align: center;
    font-weight: 600;
}

.player-cell {
    padding-left: 15px;
    font-weight: 500;
}

.metric-cell {
    text-align: right;
    padding-right: 15px;
}

.player-name {
    font-weight: 600;
    font-size: 14px;
    color: #2c3e50;
}

.rank-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    background: #f0f2f5;
    color: #495057;
    min-width: 40px;
}

.rank-badge.rank-1 {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #704400;
    box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
    font-size: 14px;
}

.rank-badge.rank-2 {
    background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 100%);
    color: #495057;
    box-shadow: 0 2px 4px rgba(192, 192, 192, 0.3);
    font-size: 14px;
}

.rank-badge.rank-3 {
    background: linear-gradient(135deg, #cd7f32 0%, #daa520 100%);
    color: #fff;
    box-shadow: 0 2px 4px rgba(205, 127, 50, 0.3);
    font-size: 14px;
}

.rank-badge.rank-4 {
    background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
    color: #fff;
    box-shadow: 0 2px 4px rgba(142, 68, 173, 0.3);
    font-size: 13px;
}

.metric-value {
    font-size: 16px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
}

.roi-display {
    font-weight: bold;
}

/* Jackpot Payouts Table Styling */
.weekly-picks-jackpot-payouts-container {
    max-width: 700px;
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
}

.weekly-picks-jackpot-payouts-container h3 {
    margin-top: 0;
    color: #333;
    text-align: center;
}

.weekly-picks-jackpot-payouts-container .jackpot-total {
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 16px;
}

.weekly-picks-jackpot-payouts-container .jackpot-amount {
    font-size: 24px;
    font-weight: bold;
    display: block;
    margin-top: 8px;
}

.weekly-picks-jackpot-payouts-container .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.weekly-picks-jackpot-payouts-container table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.weekly-picks-jackpot-payouts-container th,
.weekly-picks-jackpot-payouts-container td {
    padding: 12px 10px;
    text-align: left;
    border: 1px solid #ddd;
    vertical-align: middle;
}

.weekly-picks-jackpot-payouts-container th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.weekly-picks-jackpot-payouts-container tbody tr:nth-child(even) {
    background: #f9f9f9;
}

.weekly-picks-jackpot-payouts-container tbody tr:hover {
    background: #f0f8ff;
}

.position-column {
    width: 80px;
    text-align: center;
}

.category-column {
    width: auto;
}

.percentage-column {
    width: 100px;
    text-align: center;
}

.payout-column {
    width: 150px;
    text-align: right;
}

.position-cell,
.percentage-cell {
    text-align: center;
}

.payout-cell {
    text-align: right;
}

.position-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    background: #f8f9fa;
}

.payout-amount {
    font-size: 14px;
}

.payout-note {
    margin-top: 15px;
    text-align: center;
    color: #666;
    font-style: italic;
}

/* Odds highlighting when they change */
.odds-increase {
    animation: oddsIncrease 5s ease-out !important;
    border-radius: 4px !important;
    padding: 2px 4px !important;
}

.odds-decrease {
    animation: oddsDecrease 5s ease-out !important;
    border-radius: 4px !important;
    padding: 2px 4px !important;
}

@keyframes oddsIncrease {
    0% {
        background: #28a745 !important;
        color: white !important;
        transform: scale(1.1);
        box-shadow: 0 0 10px rgba(40, 167, 69, 0.5);
    }
    50% {
        background: #28a745 !important;
        color: white !important;
        transform: scale(1.05);
        box-shadow: 0 0 8px rgba(40, 167, 69, 0.4);
    }
    100% {
        background: transparent !important;
        color: #0073aa !important;
        transform: scale(1);
        box-shadow: none;
    }
}

@keyframes oddsDecrease {
    0% {
        background: #dc3545 !important;
        color: white !important;
        transform: scale(1.1);
        box-shadow: 0 0 10px rgba(220, 53, 69, 0.5);
    }
    50% {
        background: #dc3545 !important;
        color: white !important;
        transform: scale(1.05);
        box-shadow: 0 0 8px rgba(220, 53, 69, 0.4);
    }
    100% {
        background: transparent !important;
        color: #0073aa !important;
        transform: scale(1);
        box-shadow: none;
    }
}

/* Locked pick display styling */
.locked-pick-display {
    margin-top: 20px;
    opacity: 0.9;
}

.locked-leg {
    background: #f8f9fa !important;
    border: 2px solid #6c757d !important;
    position: relative;
}

.locked-leg::before {
    content: "🔒";
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 16px;
    opacity: 0.6;
}

.locked-leg .leg-header h5 {
    color: #6c757d !important;
}

.locked-leg .leg-pool {
    background: #e9ecef !important;
    color: #6c757d !important;
    border: 1px solid #6c757d !important;
}

.locked-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-display {
    padding: 10px;
    border: 2px solid #dee2e6;
    border-radius: 5px;
    background: #fff;
    cursor: default;
}

.option-display .option-text {
    color: #495057;
    font-weight: 500;
}

.locked-pick-display .instructions {
    color: #6c757d;
    font-style: italic;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .jackpot-amount-large {
        font-size: 36px;
    }
    
    .points-text {
        font-size: 18px;
    }
    
    /* Jackpot Payouts Table Mobile Styles */
    .weekly-picks-jackpot-payouts-container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 10px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    .weekly-picks-jackpot-payouts-container .jackpot-total {
        font-size: 14px;
        padding: 12px;
    }
    
    .weekly-picks-jackpot-payouts-container .jackpot-amount {
        font-size: 20px;
    }
    
    .weekly-picks-jackpot-payouts-container table {
        font-size: 12px !important;
    }
    
    .weekly-picks-jackpot-payouts-container th,
    .weekly-picks-jackpot-payouts-container td {
        padding: 8px 4px !important;
    }
    
    .position-column {
        width: 60px !important;
    }
    
    .percentage-column {
        width: 70px !important;
    }
    
    .payout-column {
        width: 100px !important;
    }
    
    .position-badge {
        font-size: 10px !important;
        padding: 2px 4px !important;
    }
    
    .payout-amount {
        font-size: 12px !important;
    }
    
    .jackpot-title {
        font-size: 20px;
    }
    
    /* Leaderboard Mobile Styles */
    .weekly-picks-leaderboard-container,
    .weekly-picks-roi-leaderboard-container,
    .weekly-picks-balance-leaderboard-container,
    .weekly-picks-correct-picks-leaderboard-container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 15px !important;
        margin: 10px 0 !important;
        box-sizing: border-box !important;
        border-radius: 8px !important;
    }
    
    .weekly-picks-leaderboard-container h3,
    .weekly-picks-roi-leaderboard-container h3,
    .weekly-picks-balance-leaderboard-container h3,
    .weekly-picks-correct-picks-leaderboard-container h3 {
        font-size: 20px !important;
        margin-bottom: 15px !important;
    }
    
    /* Mobile leaderboard table optimization */
    .weekly-picks-leaderboard-container table,
    .weekly-picks-roi-leaderboard-container table,
    .weekly-picks-balance-leaderboard-container table,
    .weekly-picks-correct-picks-leaderboard-container table {
        font-size: 13px !important;
        border-radius: 6px !important;
    }
    
    .weekly-picks-leaderboard-container th,
    .weekly-picks-leaderboard-container td,
    .weekly-picks-roi-leaderboard-container th,
    .weekly-picks-roi-leaderboard-container td,
    .weekly-picks-balance-leaderboard-container th,
    .weekly-picks-balance-leaderboard-container td,
    .weekly-picks-correct-picks-leaderboard-container th,
    .weekly-picks-correct-picks-leaderboard-container td {
        padding: 10px 8px !important;
    }
    
    /* Optimized column widths for mobile */
    .rank-column {
        width: 20% !important;
        min-width: 50px !important;
        text-align: center !important;
        padding: 10px 5px !important;
    }
    
    .player-column {
        width: 45% !important;
        text-align: left !important;
        padding-left: 10px !important;
    }
    
    .roi-column,
    .metric-column {
        width: 35% !important;
        text-align: right !important;
        padding-right: 10px !important;
    }
    
    .rank-cell {
        text-align: center !important;
    }
    
    .player-cell {
        padding-left: 10px !important;
    }
    
    .metric-cell {
        text-align: right !important;
        padding-right: 10px !important;
    }
    
    .player-name {
        font-size: 13px !important;
        font-weight: 600;
    }
    
    .metric-value {
        font-size: 14px !important;
        padding: 2px 6px !important;
    }
    
    .rank-badge {
        font-size: 11px !important;
        padding: 4px 8px !important;
        min-width: 35px !important;
    }
    
    .rank-badge.rank-1,
    .rank-badge.rank-2,
    .rank-badge.rank-3 {
        font-size: 12px !important;
    }
    
    /* Mobile-friendly results display - Full width */
    .weekly-picks-container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 10px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    .submission-summary {
        padding: 15px;
        display: block;
        font-size: 14px;
        width: 100%;
        box-sizing: border-box;
        background: #f8f9fa;
        border-radius: 8px;
        margin-bottom: 20px;
    }
    
    .summary-item {
        padding: 10px 0;
        border-bottom: 1px solid #e1e1e1;
        word-wrap: break-word;
        overflow-wrap: break-word;
        display: block;
    }
    
    .summary-item:last-child {
        border-bottom: none;
    }
    
    .result-leg {
        margin: 0 0 20px 0;
        padding: 15px;
        border-radius: 8px;
        border: 1px solid #ddd;
        background: #fff;
        width: 100%;
        box-sizing: border-box;
    }
    
    .result-leg-header {
        display: block;
        margin-bottom: 15px;
        padding-bottom: 12px;
        border-bottom: 2px solid #e1e1e1;
    }
    
    .result-leg-header h5 {
        font-size: 18px;
        margin-bottom: 8px;
        color: #0073aa;
    }
    
    .result-badges {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-top: 8px;
    }
    
    .result-badge,
    .winnings-badge {
        font-size: 11px;
        padding: 5px 10px;
        border-radius: 12px;
        white-space: nowrap;
    }
    
    .leg-question {
        font-size: 15px;
        font-weight: 600;
        margin-bottom: 15px;
        line-height: 1.4;
        color: #333;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .choice-display,
    .wager-display,
    .winnings-display {
        padding: 12px;
        margin: 10px 0;
        background: #f8f9fa;
        border-radius: 6px;
        font-size: 14px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 100%;
        box-sizing: border-box;
        display: block;
    }
    
    .winning-choice {
        padding: 12px;
        margin: 15px 0 10px 0;
        background: #e7f3ff;
        border-left: 4px solid #0073aa;
        border-radius: 6px;
        font-size: 14px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 100%;
        box-sizing: border-box;
        display: block;
    }
    
    .choice-display strong,
    .wager-display strong,
    .winnings-display strong,
    .winning-choice strong {
        display: block;
        margin-bottom: 5px;
        color: #666;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .selected-choice {
        font-size: 14px;
        line-height: 1.4;
        display: block;
        word-wrap: break-word;
        overflow-wrap: break-word;
        color: #0073aa;
        font-weight: 600;
    }
    
    /* Points breakdown table mobile - scrollable wrapper */
    .points-breakdown-table {
        font-size: 13px;
        width: 100%;
        border-collapse: collapse;
    }
    
    .points-breakdown-table th,
    .points-breakdown-table td {
        padding: 8px 6px;
        text-align: left;
        border: 1px solid #ddd;
    }
    
    /* Table wrapper for horizontal scroll if needed */
    .table-responsive {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 15px;
    }
    
    .table-responsive table {
        min-width: 100%;
        width: auto;
        table-layout: auto;
    }
    
    /* Back button styling */
    .button {
        display: inline-block;
        padding: 12px 24px;
        background: #0073aa;
        color: white !important;
        text-decoration: none;
        border-radius: 5px;
        font-size: 14px;
        margin-top: 20px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Make buttons fit in containers on mobile */
    .weekly-picks-container .button {
        max-width: calc(100% - 20px);
        margin-left: auto;
        margin-right: auto;
        display: block;
        text-align: center;
    }
    
    /* History list mobile styling */
    .weekly-picks-history-container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 10px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    /* Center actions column */
    .weekly-picks-history-container th:last-child,
    .weekly-picks-history-container td:last-child {
        text-align: center !important;
        white-space: normal !important;
    }
    
    /* Make View Details button fit in table cell */
    .weekly-picks-history-container .button-small {
        padding: 6px 10px !important;
        font-size: 11px !important;
        white-space: nowrap;
        display: inline-block;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Responsive table wrapper */
    .weekly-picks-history-container .table-responsive {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .weekly-picks-history-container table {
        font-size: 13px;
        min-width: 100%;
        border-collapse: collapse;
    }
    
    .weekly-picks-history-container th,
    .weekly-picks-history-container td {
        padding: 10px 8px;
        text-align: left;
        border: 1px solid #ddd;
        white-space: nowrap;
    }
    
    .weekly-picks-history-container th {
        background: #f8f9fa;
        font-weight: 600;
    }
    
    /* Make submission rows more touch-friendly */
    .weekly-picks-history-container tbody tr {
        border-bottom: 2px solid #ddd;
    }
    
    .weekly-picks-history-container tbody tr:active {
        background: #f0f8ff;
    }
    
    /* User submissions section mobile */
    .user-submissions-section {
        padding: 15px;
        margin: 15px 0;
    }
    
    .user-submission {
        padding: 12px;
        margin-bottom: 12px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .user-submission h5 {
        font-size: 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .submission-total,
    .submission-time {
        display: block;
        font-size: 11px;
        margin-top: 5px;
    }
    
    .submission-legs {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 12px;
    }
    
    .submitted-leg-compact {
        padding: 10px;
        background: #f0f8ff;
        border-left: 3px solid #0073aa;
        font-size: 14px;
    }
    
    /* Mobile wager interface improvements */
    .weekly-picks-container {
        padding: 15px;
        margin: 10px 0;
    }
    
    .leg-selection {
        padding: 12px;
        margin-bottom: 20px;
    }
    
    .leg-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .leg-selection h5 {
        font-size: 14px;
    }
    
    .option-label {
        padding: 15px 12px;
        margin-bottom: 8px;
    }
    
    .option-label input[type="radio"] {
        margin-right: 12px;
        transform: scale(1.2);
    }
    
    .option-text {
        font-size: 16px;
        line-height: 1.5;
    }
    
    /* Wager input mobile optimization */
    .wager-input {
        margin-top: 20px;
        padding-top: 15px;
    }
    
    .wager-input label {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    /* Enhanced mobile styles for wager buttons */
    .wager-input-container {
        justify-content: center;
        margin: 0 auto;
        max-width: 280px;
    }
    
    .wager-btn {
        width: 44px !important;
        height: 44px !important;
        font-size: 24px !important;
        touch-action: manipulation;
    }
    
    .wager-input-container input[type="number"] {
        width: 120px !important;
        padding: 12px 15px !important;
        font-size: 18px !important;
        border-radius: 6px !important;
        text-align: center !important;
        min-height: 48px !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        -webkit-appearance: none;
        -moz-appearance: textfield;
    }
    
    /* Remove spinner buttons on mobile */
    .wager-input-container input[type="number"]::-webkit-inner-spin-button,
    .wager-input-container input[type="number"]::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }
    
    /* Wager summary mobile styling */
    .wager-summary {
        padding: 20px 15px;
        margin-bottom: 25px;
    }
    
    .wager-summary p {
        font-size: 14px;
        margin: 8px 0;
    }
    
    .game-info {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .player-stats {
        font-size: 13px;
    }
    
    /* Submit section mobile */
    .submit-section {
        margin-top: 25px;
        padding-top: 15px;
    }
    
    .submit-picks-button {
        padding: 15px 25px !important;
        font-size: 18px !important;
        min-height: 48px;
        width: 100%;
        max-width: 280px;
    }
    
    /* Instructions mobile */
    .instructions {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    /* Improve touch targets for tabs */
    .tab-button {
        padding: 12px 10px;
        font-size: 16px;
        min-height: 44px;
    }
    
    /* User info and messages */
    .weekly-picks-user-info {
        padding: 12px;
        font-size: 14px;
    }
    
    #weekly-pick-message,
    #weekly-picks-login-message {
        padding: 12px;
        font-size: 14px;
    }
    
    /* Form inputs mobile */
    .weekly-pick-form input[type="text"],
    .weekly-pick-form input[type="email"],
    .weekly-pick-form input[type="password"],
    .weekly-pick-form textarea {
        padding: 12px;
        font-size: 16px;
        min-height: 44px;
        box-sizing: border-box;
    }
    
    .weekly-pick-form input[type="submit"] {
        padding: 12px 20px;
        font-size: 16px;
        min-height: 44px;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .weekly-picks-container {
        padding: 10px;
        margin: 5px 0;
    }
    
    .leg-selection {
        padding: 10px;
        margin-bottom: 15px;
    }
    
    /* Results display for small screens */
    .submission-summary {
        padding: 10px;
        font-size: 12px;
    }
    
    .result-leg {
        padding: 10px;
        margin-bottom: 12px;
        border: 1px solid #ddd;
        box-shadow: none;
    }
    
    .result-leg-header h5 {
        font-size: 14px;
    }
    
    .result-badge,
    .winnings-badge {
        font-size: 9px;
        padding: 3px 6px;
    }
    
    .leg-question {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .choice-display,
    .wager-display,
    .winnings-display,
    .winning-choice {
        padding: 6px;
        margin: 5px 0;
        font-size: 12px;
    }
    
    .choice-display strong,
    .wager-display strong,
    .winnings-display strong,
    .winning-choice strong {
        font-size: 10px;
        display: block;
    }
    
    .selected-choice {
        font-size: 12px;
    }
    
    /* Compact layout for smallest screens */
    .weekly-picks-container {
        padding: 8px;
    }
    
    /* History container for small screens */
    .weekly-picks-history-container {
        padding: 10px;
    }
    
    .weekly-picks-history-container table {
        font-size: 11px;
    }
    
    /* Hide week column on very small screens */
    .weekly-picks-history-container th:nth-child(2),
    .weekly-picks-history-container td:nth-child(2) {
        display: none;
    }
    
    /* User submissions for small screens */
    .user-submissions-section {
        padding: 10px;
    }
    
    .user-submission {
        padding: 10px;
    }
    
    .user-submission h5 {
        font-size: 13px;
    }
    
    .submission-total,
    .submission-time {
        font-size: 10px;
    }
    
    .submitted-leg-compact {
        padding: 8px;
        font-size: 12px;
    }
    
    /* Back button for small screens */
    .button {
        padding: 10px 20px;
        font-size: 13px;
        width: calc(100% - 16px);
        max-width: 100%;
        text-align: center;
        margin-left: 8px;
        margin-right: 8px;
        box-sizing: border-box;
    }
    
    /* Even smaller button for View Details in tables */
    .weekly-picks-history-container .button-small {
        padding: 5px 8px !important;
        font-size: 10px !important;
    }
    
    /* Extra small screen leaderboard optimization */
    .weekly-picks-leaderboard-container,
    .weekly-picks-roi-leaderboard-container,
    .weekly-picks-balance-leaderboard-container,
    .weekly-picks-correct-picks-leaderboard-container {
        padding: 10px 8px !important;
    }
    
    .weekly-picks-leaderboard-container table,
    .weekly-picks-roi-leaderboard-container table,
    .weekly-picks-balance-leaderboard-container table,
    .weekly-picks-correct-picks-leaderboard-container table {
        font-size: 12px !important;
    }
    
    .weekly-picks-leaderboard-container th,
    .weekly-picks-leaderboard-container td,
    .weekly-picks-roi-leaderboard-container th,
    .weekly-picks-roi-leaderboard-container td,
    .weekly-picks-balance-leaderboard-container th,
    .weekly-picks-balance-leaderboard-container td,
    .weekly-picks-correct-picks-leaderboard-container th,
    .weekly-picks-correct-picks-leaderboard-container td {
        padding: 8px 5px !important;
    }
    
    .rank-badge {
        font-size: 10px !important;
        padding: 3px 6px !important;
        min-width: 30px !important;
    }
    
    .player-name {
        font-size: 12px !important;
    }
    
    .metric-value {
        font-size: 13px !important;
    }
    
    
    .leg-header {
        gap: 6px;
    }
    
    .leg-selection h5 {
        font-size: 13px;
    }
    
    .leg-pool {
        font-size: 11px;
        padding: 3px 6px;
    }
    
    .option-label {
        padding: 12px 10px;
        margin-bottom: 6px;
    }
    
    .option-text {
        font-size: 14px;
    }
    
    /* Wager input container adjustments for small screens */
    .wager-input-container {
        max-width: 240px;
        gap: 6px;
    }
    
    .wager-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .wager-input-container input[type="number"] {
        width: 100px;
        padding: 10px 12px;
        font-size: 16px;
        min-height: 44px;
    }
    
    .wager-summary {
        padding: 15px 10px;
        margin-bottom: 20px;
    }
    
    .wager-summary p {
        font-size: 13px;
        margin: 6px 0;
    }
    
    .game-info {
        padding: 10px;
        margin-bottom: 12px;
    }
    
    .player-stats {
        font-size: 12px;
    }
    
    .submit-picks-button {
        padding: 12px 20px !important;
        font-size: 16px !important;
        width: 100%;
        max-width: 240px;
    }
    
    .instructions {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .weekly-picks-tabs {
        margin-bottom: 15px;
    }
    
    .tab-button {
        padding: 10px 8px;
        font-size: 14px;
        min-height: 40px;
    }
}

/* Registration checkbox styling */
.age-verification-field,
.terms-agreement-field {
    margin: 15px 0;
}

.age-verification-field input[type="checkbox"],
.terms-agreement-field input[type="checkbox"] {
    margin-right: 8px;
    vertical-align: middle;
}

.age-verification-field label,
.terms-agreement-field label {
    display: inline;
    font-weight: normal;
    cursor: pointer;
}

.terms-agreement-field a {
    color: #0073aa;
    text-decoration: underline;
}

.terms-agreement-field a:hover {
    color: #005a87;
}