#clepin-user-game-form { max-width: 600px; padding: 1em; background: #fff; border: 1px solid #ddd; }
#clepin-user-game-form input[type="text"], 
#clepin-user-game-form select { 
    width: 100%; 
    margin-bottom: 10px; 
    padding: 10px 12px; 
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
    font-family: var(--bs-font-secondary);
}

#clepin-user-game-form input[type="text"]:hover, 
#clepin-user-game-form select:hover {
    border-color: var(--e-global-color-secondary, #C1ED0B);
}

#clepin-user-game-form input[type="text"]:focus, 
#clepin-user-game-form select:focus {
    border-color: var(--e-global-color-secondary, #C1ED0B);
    box-shadow: 0 0 0 2px rgba(193, 237, 11, 0.2);
    outline: none;
}

#clepin-user-game-form button { 
    padding: 12px 24px; 
    background: var(--e-global-color-secondary, #C1ED0B); 
    color: var(--e-global-color-260fc59, #1B1B1B); 
    border: none; 
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

#clepin-user-game-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    background: var(--e-global-color-349a718, #CFFC0D);
}

#clepin-user-game-form button:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

#clepin-user-game-form button .loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(27, 27, 27, 0.2);
    border-radius: 50%;
    border-top-color: var(--e-global-color-260fc59, #1B1B1B);
    animation: spin 0.8s infinite linear;
    margin-right: 8px;
    vertical-align: middle;
}

/* Multi-game registration form styling */
.game-entry {
    background: var(--e-global-color-f759f5c, #f9f9f9);
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.game-header h4 {
    margin: 0;
}
.remove-game {
    background: var(--e-global-color-4794559, #e74c3c);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(231, 76, 60, 0.2);
    font-family: var(--bs-font-secondary);
}
#add-game {
    background: var(--e-global-color-secondary, #C1ED0B);
    color: var(--e-global-color-260fc59, #1B1B1B);
    border: none;
    padding: 10px 18px;
    border-radius: 4px;
    margin-right: 10px;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    font-family: var(--bs-font-secondary);
}
#add-game:before {
    content: '+';
    margin-right: 6px;
    font-size: 18px;
    line-height: 1;
    font-weight: 400;
}
#add-game:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    background: var(--e-global-color-349a718, #CFFC0D);
}
#add-game:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
#register-games, .register-link {
    background: var(--e-global-color-secondary, #C1ED0B);
    color: var(--e-global-color-260fc59, #1B1B1B);
    border: none;
    padding: 10px 18px;
    border-radius: 4px;
    margin-right: 10px;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    font-family: var(--bs-font-secondary);
}

/* Disabled state for register button - higher specificity to override */
#register-games:disabled,
#register-games.disabled {
    background: #cccccc !important;
    color: #666666 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    box-shadow: none !important;
}

#register-games:disabled:hover,
#register-games.disabled:hover {
    background: #cccccc !important;
    transform: none !important;
    box-shadow: none !important;
}
.form-actions {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}
.form-actions button {
    min-width: 140px;
}
hr {
    margin: 20px 0;
    border: 0;
    border-top: 1px solid #eee;
}

/* Pinball search field with spinner */
.pinball-search-wrapper {
    position: relative;
}

.pinball-search-spinner {
    position: absolute;
    right: 10px;
    top: 20%;
    transform: translateY(-20%);
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(193, 237, 11, 0.2);
    border-radius: 50%;
    border-top-color: var(--e-global-color-secondary, #C1ED0B);
    animation: spin 0.8s infinite linear;
}

@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

.searching .pinball-search-spinner,
.pinball-search-spinner.loading {
    display: block;
}

/* Arcade search field with spinner */
.arcade-search-wrapper {
    position: relative;
}

.arcade-search-spinner {
    position: absolute;
    right: 10px;
    top: 20%;
    transform: translateY(-20%);
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(193, 237, 11, 0.2);
    border-radius: 50%;
    border-top-color: var(--e-global-color-secondary, #C1ED0B);
    animation: spin 0.8s infinite linear;
}

.searching .arcade-search-spinner,
.arcade-search-spinner.loading {
    display: block;
}

/* Search Progress Bar Styles */
.search-progress-bar {
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px 4px 0 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1;
}

.searching .search-progress-bar {
    opacity: 1;
    visibility: visible;
}

.search-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        var(--e-global-color-primary, #007cba) 0%, 
        var(--e-global-color-secondary, #C1ED0B) 50%, 
        var(--e-global-color-primary, #007cba) 100%);
    width: 0%;
    animation: none;
    transition: width 0.3s ease;
}

.searching .search-progress-fill {
    animation: progress-pulse 2s ease-in-out infinite;
}

@keyframes progress-pulse {
    0% {
        width: 0%;
        opacity: 0.7;
    }
    50% {
        width: 100%;
        opacity: 1;
    }
    100% {
        width: 100%;
        opacity: 0.7;
    }
}

/* Selected Game Display Styles */
.selected-game-display {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 2px solid var(--e-global-color-primary, #007cba);
    border-radius: 6px;
    background: #c1ed0b36;
    margin-top: 8px;
    margin-bottom: 8px;
    position: relative;
}

.selected-game-image {
    flex-shrink: 0;
}

.selected-game-image img {
    display: block;
    border: 1px solid #ddd;
}

.selected-game-info {
    flex-grow: 1;
    min-width: 0;
}

.selected-game-title {
    font-weight: 600;
    font-size: 16px;
    color: var(--e-global-color-text, #333);
    margin-bottom: 4px;
    line-height: 1.3;
}

.selected-game-meta {
    font-size: 14px;
    color: var(--e-global-color-a775d46, #666);
    line-height: 1.2;
}

.clear-selection {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--e-global-color-accent, #dc3545);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.clear-selection:hover {
    background: #c82333;
}

.clear-selection:focus {
    outline: 2px solid var(--e-global-color-primary, #007cba);
    outline-offset: 2px;
}

/* Input field styling for progress bar space */
.pinball-title,
.arcade-title {
    margin-top: 4px;
}

/* Readonly input styling */
.pinball-title[readonly],
.arcade-title[readonly] {
    background-color: #f8f9fa;
    color: #6c757d;
    border-color: #ced4da;
    cursor: not-allowed;
    opacity: 0.8;
}

.pinball-title[readonly]:focus,
.arcade-title[readonly]:focus {
    box-shadow: none;
    border-color: #ced4da;
}

/* Responsive styles for selected game display */
@media (max-width: 768px) {
    .selected-game-display {
        padding: 10px;
        gap: 10px;
    }
    
    .selected-game-image img {
        width: 50px;
        height: 50px;
    }
    
    .selected-game-title {
        font-size: 15px;
    }
    
    .selected-game-meta {
        font-size: 13px;
    }
    
    .clear-selection {
        width: 22px;
        height: 22px;
        font-size: 14px;
        top: 6px;
        right: 6px;
    }
    
    /* Progress bar adjustments for mobile */
    .search-progress-bar {
        height: 2px;
        top: -1px;
    }
    
    .pinball-title,
    .arcade-title {
        margin-top: 3px;
    }
    
    @keyframes progress-pulse {
        0% {
            width: 0%;
            opacity: 0.8;
        }
        50% {
            width: 100%;
            opacity: 1;
        }
        100% {
            width: 100%;
            opacity: 0.8;
        }
    }
}

/* Modern toast notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 350px;
}

.toast {
    background: white;
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: flex-start;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.success {
    border-left: 4px solid var(--e-global-color-secondary, #C1ED0B);
}

.toast.error {
    border-left: 4px solid var(--e-global-color-4794559, #e74c3c);
}

.toast.warning {
    border-left: 4px solid var(--e-global-color-accent, #f39c12);
}

.toast .toast-icon {
    margin-right: 12px;
    background: #f5f5f5;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    color: var(--e-global-color-secondary, #C1ED0B);
}

.toast.error .toast-icon {
    color: var(--e-global-color-4794559, #e74c3c);
}

.toast.warning .toast-icon {
    color: var(--e-global-color-accent, #f39c12);
}

.toast .toast-content {
    flex: 1;
}

.toast .toast-title {
    font-weight: bold;
    margin-bottom: 6px;
    color: var(--e-global-color-text, #333);
}

.toast .toast-message {
    font-size: 14px;
    line-height: 1.4;
    color: var(--e-global-color-a775d46, #666);
}

.toast .toast-close {
    color: #999;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 0 0 0 10px;
    margin-left: 10px;
    line-height: 1;
    transition: all 0.2s ease;
}

.toast .toast-close:hover {
    color: var(--e-global-color-260fc59, #333);
    transform: scale(1.1);
}

/* Success animation */
.game-success {
    position: relative;
}

.game-success:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(193, 237, 11, 0.1);
    border: 2px solid var(--e-global-color-secondary, #C1ED0B);
    border-radius: 4px;
    z-index: 1;
    animation: success-pulse 1.5s ease-out;
    pointer-events: none;
    opacity: 0;
}

@keyframes success-pulse {
    0% {
        opacity: 1;
        transform: scale(0.95);
    }
    70% {
        opacity: 0.7;
        transform: scale(1.02);
    }
    100% {
        opacity: 0;
        transform: scale(1.05);
    }
}

/* Registered games summary */
.registration-summary {
    background: rgba(193, 237, 11, 0.05);
    border: 1px solid rgba(193, 237, 11, 0.2);
    border-radius: 4px;
    padding: 15px;
    margin: 20px 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s ease;
}

.registration-summary.show {
    max-height: 500px;
    opacity: 1;
    margin-top: 20px;
}

.registration-summary h4 {
    margin-top: 0;
    color: var(--e-global-color-260fc59, #1B1B1B);
    display: flex;
    align-items: center;
}

.registration-summary h4 svg {
    margin-right: 8px;
}

.registered-games-list {
    margin: 10px 0;
    padding: 0;
    list-style: none;
}

.registered-games-list li {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(193, 237, 11, 0.2);
    display: flex;
    align-items: center;
}

.registered-games-list li:last-child {
    border-bottom: none;
}

.registered-game-icon {
    margin-right: 10px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(193, 237, 11, 0.15);
    flex-shrink: 0;
}
.game-type {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px 12px;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23424242' viewBox='0 0 16 16'%3e%3cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    cursor: pointer;
    font-family: var(--bs-font-secondary);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.game-type:hover, .game-type:focus {
    border-color: var(--e-global-color-secondary, #C1ED0B);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    outline: none;
}

.game-type option {
    padding: 8px;
    font-family: var(--bs-font-secondary);
}

.registered-game-info {
    flex: 1;
}

.registered-game-title {
    font-weight: bold;
    color: var(--e-global-color-text, #333);
}

.registered-game-type {
    font-size: 12px;
    color: var(--e-global-color-a775d46, #666);
    text-transform: capitalize;
}
#clepin-user-game-form input[type="text"] {
    margin-bottom: 20px;
    background-color: #fff;
}

/* Date selections styling */
.date-options {
    display: flex;
    flex-wrap: wrap;
    margin: 10px 0 15px;
    gap: 8px;
}

.date-options label {
    display: flex;
    align-items: center;
    position: relative;
    padding: 12px 16px 12px 42px;
    margin: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: calc(50% - 8px);
    box-sizing: border-box;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.date-options label:hover {
    background: rgba(193, 237, 11, 0.05);
    border-color: var(--e-global-color-secondary, #C1ED0B);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.date-options input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.date-options label:before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid var(--e-global-color-secondary, #C1ED0B);
    border-radius: 3px;
    background-color: #fff;
}

.date-options input[type="checkbox"]:checked + label {
    background-color: rgba(193, 237, 11, 0.15);
    border-color: var(--e-global-color-secondary, #C1ED0B);
    font-weight: bold;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(193, 237, 11, 0.3);
}

.date-options input[type="checkbox"]:checked + label:before {
    background-color: var(--e-global-color-secondary, #C1ED0B);
}

.date-options input[type="checkbox"]:checked + label:after {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 6px;
    height: 12px;
    border: solid var(--e-global-color-260fc59, #1B1B1B);
    border-width: 0 2px 2px 0;
    margin-top: -2px;
}

@media (max-width: 600px) {
    .date-options label {
        width: 100%;
    }
}

/* Autocomplete dropdown styling */
.ui-autocomplete {
    background: #fff !important;
    border: 1px solid #ddd !important;
    max-height: 300px;
    overflow-y: auto;
    z-index: 9999 !important;
    list-style: none !important;
    padding-left: 0 !important;
    width: auto !important;
    max-width: 350px !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

.ui-autocomplete .ui-menu-item {
    padding: 5px !important;
    border-bottom: 1px solid #f0f0f0;
    list-style-type: none !important;
    margin: 0 !important;
}

.ui-autocomplete .ui-menu-item:hover,
.ui-autocomplete .ui-menu-item.ui-state-focus {
    background-color: rgba(193, 237, 11, 0.1) !important;
    cursor: pointer;
}

.ui-autocomplete .ui-menu-item div {
    display: flex;
    align-items: center;
    padding: 5px;
}

.ui-autocomplete .ui-menu-item span {
    white-space: normal;
    word-wrap: break-word;
    max-width: 280px;
    line-height: 1.3;
}

.ui-helper-hidden-accessible {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.remove-game:hover {
    background: #e53935;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.3);
}

.remove-game:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(231, 76, 60, 0.2);
}

/* Custom dropdown styling */
.custom-select-container {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
}

.custom-select-selected {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px 12px;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    font-family: var(--bs-font-secondary);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-select-selected:hover {
    border-color: var(--e-global-color-secondary, #C1ED0B);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.custom-select-selected:after {
    content: '';
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23424242' viewBox='0 0 16 16'%3e%3cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    display: block;
    transition: transform 0.2s ease;
}

.custom-select-container.active .custom-select-selected:after {
    transform: rotate(180deg);
}

.custom-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 9999;
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-top: -1px;
}

.custom-select-container.active .custom-select-options {
    display: block;
}

.custom-select-option {
    padding: 10px 12px;
    cursor: pointer;
    font-family: var(--bs-font-secondary);
    transition: background-color 0.2s ease;
}

.custom-select-option:hover {
    background-color: rgba(193, 237, 11, 0.1);
}

.custom-select-option.selected {
    background-color: rgba(193, 237, 11, 0.2);
    font-weight: 500;
}

.custom-select-option:before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 10px;
    vertical-align: middle;
}

.custom-select-option.selected:before {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23424242' viewBox='0 0 16 16'%3e%3cpath d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.existing-game-badge {
    display: inline-block;
    background-color: rgba(193, 237, 11, 0.2);
    color: var(--e-global-color-260fc59, #1B1B1B);
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    font-weight: normal;
    vertical-align: middle;
}

/* Dashboard Styling */
.clepin-dashboard {
    width: 100%;
    margin: 20px 0;
}

.clepin-dashboard h2 {
    color: var(--e-global-color-260fc59, #1B1B1B);
    margin-bottom: 25px;
    font-family: var(--bs-font-secondary);
}

.clepin-game {
    background: var(--e-global-color-f759f5c, #f9f9f9);
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.clepin-game:hover {
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.clepin-game strong {
    display: flex;
    align-items: center;
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--e-global-color-260fc59, #1B1B1B);
    font-family: var(--bs-font-secondary);
}

.clepin-game strong svg {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

.clepin-game .game-type {
    margin-bottom: 15px;
    color: var(--e-global-color-a775d46, #666);
    font-size: 14px;
}

.clepin-update-form {
    margin-top: 15px;
}

.clepin-update-form label {
    display: block;
    margin-bottom: 10px;
    color: var(--e-global-color-260fc59, #1B1B1B);
    font-weight: 500;
    font-family: var(--bs-font-secondary);
}

.clepin-update-form label input[type="checkbox"] {
    opacity: 0;
    position: absolute;
}

.clepin-update-form label input[type="checkbox"] + span {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    display: inline-block;
    color: var(--e-global-color-a775d46, #666);
    transition: all 0.2s ease;
}

.clepin-update-form label input[type="checkbox"] + span:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid var(--e-global-color-secondary, #C1ED0B);
    border-radius: 4px;
    background-color: #fff;
    transition: all 0.2s ease;
}

.clepin-update-form label input[type="checkbox"]:checked + span {
    color: var(--e-global-color-260fc59, #1B1B1B);
    font-weight: 500;
}

.clepin-update-form label input[type="checkbox"]:checked + span:before {
    background-color: var(--e-global-color-secondary, #C1ED0B);
}

.clepin-update-form label input[type="checkbox"]:checked + span:after {
    content: '';
    position: absolute;
    left: 7px;
    top: 50%;
    transform: translateY(-70%) rotate(45deg);
    width: 5px;
    height: 10px;
    border: solid var(--e-global-color-260fc59, #1B1B1B);
    border-width: 0 2px 2px 0;
}

.clepin-update-form button {
    background: var(--e-global-color-secondary, #C1ED0B);
    color: var(--e-global-color-260fc59, #1B1B1B);
    border: none;
    padding: 10px 18px;
    border-radius: 4px;
    margin-top: 15px;
    margin-right: 10px;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    font-family: var(--bs-font-secondary);
}

.clepin-update-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    background: var(--e-global-color-349a718, #CFFC0D);
}

.clepin-update-form button:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.clepin-update-form button.clepin-remove {
    background: var(--e-global-color-4794559, #e74c3c);
    color: white;
}

.clepin-update-form button.clepin-remove:hover {
    background: #e53935;
}

.clepin-response {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

.clepin-response.success {
    background: rgba(193, 237, 11, 0.1);
    border: 1px solid var(--e-global-color-secondary, #C1ED0B);
    color: var(--e-global-color-260fc59, #1B1B1B);
}

.clepin-response.error {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid var(--e-global-color-4794559, #e74c3c);
    color: var(--e-global-color-4794559, #e74c3c);
}

/* Dashboard Table Styling */
.clepin-dashboard-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 20px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.clepin-dashboard-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    overflow: hidden;
}

.clepin-dashboard-table thead th {
    background: var(--e-global-color-f759f5c, #f9f9f9);
    color: var(--e-global-color-260fc59, #1B1B1B);
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-family: var(--bs-font-secondary);
    border-bottom: 1px solid #eee;
}

.clepin-dashboard-table tbody tr {
    transition: all 0.2s ease;
}

.clepin-dashboard-table tbody tr:hover {
    background-color: rgba(193, 237, 11, 0.05);
}

.clepin-dashboard-table tbody tr:not(:last-child) {
    border-bottom: 1px solid #eee;
}

.clepin-dashboard-table td {
    padding: 15px;
    vertical-align: middle;
}

.clepin-dashboard-table .game-col {
    width: 30%;
}

.clepin-dashboard-table .dates-col {
    width: 43%;
}

.clepin-dashboard-table .actions-col {
    width: 13%;
    text-align: center;
}

.clepin-dashboard-table .game-info {
    display: flex;
    align-items: center;
}

.clepin-dashboard-table .game-text {
    display: flex;
    flex-direction: column;
}

.clepin-dashboard-table .game-icon {
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(193, 237, 11, 0.1);
    flex-shrink: 0;
}

.clepin-dashboard-table .game-icon svg {
    width: 18px;
    height: 18px;
}

.clepin-dashboard-table .game-title {
    font-weight: 600;
    color: var(--e-global-color-260fc59, #1B1B1B);
    font-family: var(--bs-font-secondary);
    font-size: 16px;
    margin-bottom: 4px;
}

.clepin-dashboard-table .game-manufacturer,
.clepin-dashboard-table .game-date {
    font-size: 13px;
    color: var(--e-global-color-a775d46, #666);
    font-weight: normal;
    line-height: 1.2;
}

.clepin-dashboard-table .game-type {
    font-size: 13px;
    color: var(--e-global-color-a775d46, #666);
}

.clepin-dashboard-table .date-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.clepin-dashboard-table .date-checkbox {
    opacity: 0;
    position: absolute;
}

.user-profile-date-label {
    background: rgba(193, 237, 11, 0.2) !important;
    border-color: var(--e-global-color-secondary, #C1ED0B) !important;
    font-weight: 500 !important;
}

.clepin-dashboard-table .date-label {
    display: inline-block;
    padding: 6px 10px;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    margin-bottom: 0px;
}



.clepin-dashboard-table .date-checkbox:checked + .date-label {
    background: rgba(193, 237, 11, 0.2);
    border-color: var(--e-global-color-secondary, #C1ED0B);
    font-weight: 500;
}

.clepin-dashboard-table .table-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.clepin-dashboard-table .update-dates {
    background: var(--e-global-color-secondary, #C1ED0B);
    color: var(--e-global-color-260fc59, #1B1B1B);
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    font-family: var(--bs-font-secondary);
}

.clepin-dashboard-table .update-dates:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    background: var(--e-global-color-349a718, #CFFC0D);
}

.clepin-dashboard-table .update-dates:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.clepin-dashboard-table .remove-game {
    background: var(--e-global-color-4794559, #e74c3c);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(231, 76, 60, 0.2);
    transition: all 0.2s ease;
    font-family: var(--bs-font-secondary);
}

.clepin-dashboard-table .remove-game:hover {
    background: #e53935;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.3);
}

.clepin-dashboard-table .remove-game:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(231, 76, 60, 0.2);
}

.clepin-dashboard-table .loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s infinite linear;
    margin-right: 6px;
}

.clepin-dashboard-table .response-message {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 16px;
    border-radius: 4px;
    color: #fff;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.clepin-dashboard-table .response-message.show {
    opacity: 1;
    transform: translateY(0);
}

.clepin-dashboard-table .response-message.success {
    background: var(--e-global-color-secondary, #C1ED0B);
    color: var(--e-global-color-260fc59, #1B1B1B);
}

.clepin-dashboard-table .response-message.error {
    background: var(--e-global-color-4794559, #e74c3c);
}

.clepin-dashboard-empty {
    background: #f5f5f5;
    border-radius: 6px;
    padding: 30px;
    text-align: center;
    color: var(--e-global-color-a775d46, #666);
}

.clepin-dashboard-empty p {
    margin: 0 0 15px;
}

.clepin-dashboard-empty .register-link {
    display: inline-block;
    background: var(--e-global-color-secondary, #C1ED0B);
    color: var(--e-global-color-260fc59, #1B1B1B);
    padding: 10px 18px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

/* Updated response message styling */
.response-message {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 16px;
    border-radius: 4px;
    color: #fff;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    max-width: 300px;
}

.response-message.show {
    opacity: 1;
    transform: translateY(0);
}

.response-message.success {
    background: var(--e-global-color-secondary, #C1ED0B);
    color: var(--e-global-color-260fc59, #1B1B1B);
}

.response-message.error {
    background: var(--e-global-color-4794559, #e74c3c);
}

.chip-dollar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    background: #000;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    text-align: center;
    vertical-align: middle;
    padding-left: 0px;
    margin-top: 0px;
}

.chip-dollar i {
    color: #fff;
    font-size: 12px;
    line-height: 1;
    display: block;
}

@media (max-width: 768px) {
    .clepin-dashboard-table .table-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .clepin-dashboard-table .update-dates,
    .clepin-dashboard-table .remove-game {
        width: 100%;
    }
    
    .clepin-dashboard-table .game-col {
        width: auto;
    }
    
    .clepin-dashboard-table .game-manufacturer,
    .clepin-dashboard-table .game-date {
        font-size: 12px;
    }
    
    .clepin-dashboard-table .type-col {
        width: 57px;
    }
    
    .clepin-dashboard-table .dates-col {
        width: auto;
    }
    
    .clepin-dashboard-table .actions-col {
        width: 120px;
    }
}

@media (max-width: 576px) {
    .clepin-dashboard-table td, 
    .clepin-dashboard-table th {
        padding: 8px;
    }
    
    .clepin-dashboard-table .game-title {
        font-size: 14px;
    }
    
    .clepin-dashboard-table .game-manufacturer,
    .clepin-dashboard-table .game-date {
        font-size: 12px;
    }
    
    .clepin-dashboard-table .type-col {
        font-size: 13px;
        width: 60px;
    }
    
    .clepin-dashboard-table .date-label {
        font-size: 13px;
    }
    
    .clepin-dashboard-table .update-dates,
    .clepin-dashboard-table .remove-game {
        font-size: 12px;
        padding: 6px 8px;
    }
    
    .clepin-dashboard-table .game-backglass {
        width: 90px;
        height: 100%;
        margin-right: 6px;
    }
}

.clepin-dashboard-table .type-col {
    width: 57px;
    text-align: center;
    font-weight: 500;
}

.clepin-dashboard-table .game-info {
    display: flex;
    align-items: center;
}

.clepin-dashboard-table .game-backglass {
    width: 90px;
    height: 100%;
    margin-right: 12px;
    flex-shrink: 0;
    background-color: #f5f5f5;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.clepin-dashboard-table .game-backglass img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.clepin-dashboard-table .no-backglass {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 24px;
}

@media (max-width: 768px) {
    .clepin-dashboard-table .type-col {
        width: 80px;
    }
    
    .clepin-dashboard-table .game-backglass {
        width: 45px;
        height: 60px;
        margin-right: 8px;
    }
}

/* Public Games List Styling */
.clepin-public-games-table {
    font-family: 'Oswald', sans-serif;
}

.clepin-public-games-table .game-text {
    display: flex;
    flex-direction: column;
}

.clepin-public-games-table .game-backglass {
    width: 90px;
    height: 100%;
}

.clepin-public-games-table .date-col {
    width: 90px;
    text-align: center;
    padding: 8px 4px;
    white-space: nowrap;
    font-size: 13px;
}

.clepin-public-games-table .date-check-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #333;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}

.clepin-public-games-table .no-backglass {
    font-size: 24px;
    width: 90px;
    height: 56px;
}

.clepin-public-games-table .game-title {
    font-size: 18px;
    letter-spacing: 0.5px;
}

.clepin-public-games-table .game-manufacturer,
.clepin-public-games-table .game-date {
    font-size: 14px;
    color: var(--e-global-color-a775d46, #666);
    font-weight: normal;
    line-height: 1.2;
    margin-top: 4px;
}

.clepin-public-games-table .owner-chip {
    background: rgba(193, 237, 11, 0.2);
    font-weight: 500;
    display: inline-block;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #C1ED0B;
    margin-bottom: 0px;
    margin-right: 8px;
}

@media (max-width: 768px) {
    .clepin-public-games-table .game-backglass {
        width: 45px;
        height: 60px;
    }
    
    .clepin-public-games-table .game-title {
        font-size: 16px;
    }
    
    .clepin-public-games-table .owner-chip {
        padding: 4px 8px;
        font-size: 13px;
    }
    
    .clepin-public-games-table .date-col {
        width: 70px;
        padding: 6px 2px;
        font-size: 12px;
    }
    
    .clepin-public-games-table .date-check-circle {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
    
    .clepin-public-games-table .no-backglass {
        width: 45px;
        height: 60px;
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .clepin-public-games-table .game-backglass {
        width: 40px;
        height: 50px;
    }
    
    .clepin-public-games-table .no-backglass {
        width: 40px;
        height: 50px;
        font-size: 18px;
    }
    
    .clepin-public-games-table .date-check-circle {
        width: 18px;
        height: 18px;
        font-size: 11px;
    }
    
    .clepin-public-games-table .game-title {
        font-size: 14px;
    }
    
    .clepin-public-games-table .game-col .game-manufacturer,
    .clepin-public-games-table .game-col .game-date {
        font-size: 13px;
    }
}

/* Styles for the view games link */
.view-games-link {
    display: inline-block;
    margin-left: 10px;
    color: var(--clepin-primary-color, #0073aa);
    text-decoration: underline;
    font-weight: 500;
}

.view-games-link:hover {
    text-decoration: none;
    color: var(--clepin-primary-color-dark, #005d87);
}

/* Success actions after registration */
.success-actions {
    margin-top: 20px;
    padding: 15px;
    background-color: #e7f5ea;
    border-radius: 6px;
    border-left: 4px solid #2ecc71;
}

.success-actions p {
    margin: 0;
    font-size: 16px;
}

.success-actions a {
    color: var(--clepin-primary-color, #0073aa);
    font-weight: 500;
    text-decoration: underline;
}

.success-actions a:hover {
    text-decoration: none;
}

/* Contact Form 7 Modal Styling */
#clepin-contact-modal .wpcf7-form {
    width: 100%;
    max-width: 100%;
}

#clepin-contact-modal .wpcf7-form label {
    display: block;
    width: 100%;
    margin-bottom: 12px;
    font-weight: 500;
}

#clepin-contact-modal .wpcf7-form input[type="text"],
#clepin-contact-modal .wpcf7-form input[type="email"],
#clepin-contact-modal .wpcf7-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    margin-top: 5px;
    font-family: inherit;
}

#clepin-contact-modal .wpcf7-form input[type="text"]:focus,
#clepin-contact-modal .wpcf7-form input[type="email"]:focus,
#clepin-contact-modal .wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--e-global-color-secondary, #C1ED0B);
    box-shadow: 0 0 0 2px rgba(193, 237, 11, 0.2);
}

#clepin-contact-modal .wpcf7-form input[readonly] {
    background-color: #f9f9f9;
    cursor: not-allowed;
}

#clepin-contact-modal .wpcf7-form input[type="submit"] {
    background: var(--e-global-color-secondary, #C1ED0B);
    color: var(--e-global-color-260fc59, #1B1B1B);
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#clepin-contact-modal .wpcf7-form input[type="submit"]:hover {
    background: var(--e-global-color-349a718, #CFFC0D);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

#clepin-contact-modal .wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size: 0.9em;
    margin-top: 4px;
}

#clepin-contact-modal .wpcf7-response-output {
    margin: 20px 0 0;
    padding: 12px;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

.toast {
    background: white;
}

#clepin-contact-modal .wpcf7-response-output {
    margin: 20px 0 0;
    padding: 12px;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

/* Modal container styling */
.clepin-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.4);
    align-items: center;
    justify-content: center;
}

.clepin-modal-content {
    background: #fff;
    padding: 2.5em 2em 2em;
    border-radius: 10px;
    width: 90vw;
    max-width: 600px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.clepin-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 28px;
    height: 28px;
    font-size: 22px;
    background: #f3f3f3;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #555;
    padding: 0;
    line-height: 1;
}

.clepin-modal-close:hover {
    background: #eaeaea;
    color: #333;
}

.clepin-modal h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.5em;
    font-weight: 600;
}

#clepin-contact-form-container {
    width: 100%;
}

/* Mobile Card Layout for Public Games Table */
@media (max-width: 768px) {
    .clepin-public-games-table {
        border: none;
    }
    
    .clepin-public-games-table thead {
        display: none;
    }
    
    .clepin-public-games-table tbody {
        display: block;
    }
    
    .clepin-public-games-table tr.game-row {
        display: block;
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 8px;
        margin-bottom: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        overflow: hidden;
        transition: all 0.2s ease;
    }
    
    .clepin-public-games-table tr.game-row:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        transform: translateY(-2px);
    }
    
    .clepin-public-games-table td {
        display: block;
        padding: 0;
        border: none;
        position: relative;
    }
    
    /* Backglass Image - Full Width */
    .clepin-public-games-table .game-col {
        padding: 0;
        margin-bottom: 15px;
    }
    
    .clepin-public-games-table .game-col .game-info {
        flex-direction: column;
        align-items: stretch;
    }
    
    .clepin-public-games-table .game-col .game-backglass {
        width: 100%;
        height: 200px;
        margin: 0 0 15px 0;
        border-radius: 8px 8px 0 0;
    }
    
    .clepin-public-games-table .game-col .game-backglass img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px 8px 0 0;
    }
    
    .clepin-public-games-table .game-col .no-backglass {
        width: 100%;
        height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f5f5f5;
        border-radius: 8px 8px 0 0;
    }
    
    .clepin-public-games-table .game-col .no-backglass span {
        font-size: 48px;
    }
    
    .clepin-public-games-table .game-col .game-title {
        font-size: 20px;
        font-weight: 600;
        text-align: center;
        padding: 0 15px;
        margin-bottom: 0;
    }
    
    /* Type Row */
    .clepin-public-games-table .type-col {
        padding: 15px;
        border-top: 1px solid #eee;
        text-align: left;
    }
    
    .clepin-public-games-table .type-col:before {
        content: "Type: ";
        font-weight: 600;
        color: var(--e-global-color-260fc59, #1B1B1B);
        margin-right: 8px;
    }
    
    /* Who's Bringing It Row */
    .clepin-public-games-table .owner-col {
        padding: 15px;
        border-top: 1px solid #eee;
    }
    
    .clepin-public-games-table .owner-col:before {
        content: "Who's Bringing It:";
        display: block;
        font-weight: 600;
        color: var(--e-global-color-260fc59, #1B1B1B);
        margin-bottom: 10px;
    }
    
    .clepin-public-games-table .owner-col .owner-chip {
        display: inline-block;
        margin: 5px 8px 5px 0;
        width: fit-content;
    }
    
    /* Dates Container */
    .clepin-public-games-table .date-col {
        display: none; /* Hide individual date columns */
    }
}

/* Hide mobile dates section on desktop */
.mobile-dates-section {
    display: none;
}

/* Enhanced mobile card layout with custom date section */
@media (max-width: 768px) {
    .mobile-dates-section {
        display: block !important;
        padding: 15px;
        border-top: 1px solid #eee;
        background: #fafafa;
        margin: 0;
        box-sizing: border-box;
    }
    
    .mobile-dates-header {
        font-weight: 600;
        color: var(--e-global-color-260fc59, #1B1B1B);
        margin: 0 0 10px 0;
        padding: 0;
        font-size: 16px;
        text-indent: 0;
        text-align: left;
        position: relative;
        display: block;
        margin-left: 16px;
        padding-top: 5px;
    }
    
    .mobile-dates-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 10px;
    }
    
    .mobile-date-item {
        text-align: center;
    }
    
    .mobile-date-label {
        font-size: 12px;
        color: var(--e-global-color-a775d46, #666);
        margin-bottom: 5px;
        font-weight: 500;
    }
    
    .mobile-date-status {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #f0f0f0;
        color: #999;
        font-size: 16px;
        margin: 0 auto 15px auto;
    }
    
    .mobile-date-status.available {
        background: var(--e-global-color-secondary, #C1ED0B);
        color: var(--e-global-color-260fc59, #1B1B1B);
    }
    
    .mobile-date-status.unavailable {
        background: #f0f0f0;
        color: transparent;
    }
}

@media (max-width: 576px) {
    .clepin-public-games-table .game-col .game-backglass {
        height: 250px;
    }
    
    .clepin-public-games-table .game-col .no-backglass {
        height: 150px;
    }
    
    .clepin-public-games-table .game-col .no-backglass span {
        font-size: 36px;
    }
    
    .clepin-public-games-table .game-col .game-title {
        font-size: 18px;
    }
    
    .mobile-dates-grid {
        grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
        gap: 8px;
    }
    
    .mobile-date-label {
        font-size: 11px;
    }
    
    .mobile-date-status {
        width: 26px;
        height: 26px;
        font-size: 14px;
        margin: 0 auto 15px auto;
    }
}

/* Form styles */
.clepin-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

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

.clepin-form input,
.clepin-form select,
.clepin-form textarea {
    width: 100%;
    padding: 8px 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.clepin-form button {
    background: #0073aa;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-right: 10px;
}

.clepin-form button:hover {
    background: #005a87;
}

.clepin-form button:disabled,
.clepin-form button.disabled {
    background: #cccccc;
    color: #666666;
    cursor: not-allowed;
    opacity: 0.6;
}

.clepin-form button:disabled:hover,
.clepin-form button.disabled:hover {
    background: #cccccc;
}

/* Game Image Tooltip Styles */
.game-image-tooltip {
    position: fixed;
    z-index: 9999;
    max-width: 400px;
    max-height: 300px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all 0.3s ease;
    pointer-events: none;
    backdrop-filter: blur(4px);
}

.game-image-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.game-image-tooltip img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

.game-image-thumbnail {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-image-thumbnail:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.game-image-thumbnail[data-full-size] {
    cursor: zoom-in;
}

/* reCAPTCHA Notice Styling */
.recaptcha-notice {
    margin-top: 15px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.recaptcha-notice small {
    color: #666;
    font-size: 12px;
    line-height: 1.4;
}

.recaptcha-notice a {
    color: var(--e-global-color-primary, #007cba);
    text-decoration: none;
}

.recaptcha-notice a:hover {
    text-decoration: underline;
}

/* Form verification states */
.clepin-form-verifying {
    opacity: 0.7;
    pointer-events: none;
}

.clepin-form-verifying button {
    position: relative;
}

.clepin-form-verifying button:after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: recaptcha-spin 0.8s linear infinite;
}

@keyframes recaptcha-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* reCAPTCHA badge positioning adjustments */
.grecaptcha-badge {
    z-index: 9998 !important;
}

/* Mobile reCAPTCHA adjustments */
@media (max-width: 768px) {
    .recaptcha-notice {
        margin-top: 12px;
        padding: 6px 10px;
    }
    
    .recaptcha-notice small {
        font-size: 11px;
    }
    
    .grecaptcha-badge {
        transform: scale(0.8);
        transform-origin: bottom right;
    }
}
