/* EZ Selector Template Styles - TV Enhanced */
.ez-selector-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
    text-align: center;
}

.ez-selector-content {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Form Elements - Enhanced for TV Visibility */
select {
    font-size: 1.2rem; /* Larger text for TV */
    padding: .5rem; /* More padding for better visibility */
    margin: 1rem 0;
    width: 100%;
    border: 2px solid #ccc;
    border-radius: 5px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

/* Focus/Hover state for select elements - Very visible for TV */
select:focus,
select:hover {
    outline: none;
    border-color: #FF9900;
    box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.5);
    background-color: #fff;
}

/* Selected option in dropdown - High contrast */
option:checked {
    background: #FF9900 linear-gradient(to bottom, #ffb733, #FF9900);
    color: #111;
    font-weight: bold;
}

/* Button Styles - Enhanced for TV */
.ez-selector-button {
    /* Normal state (blue) */
    background: #0073aa;
    color: #fff;
    text-align: center;
    cursor: pointer;
    font-size: 1.2rem; /* Larger text */
    padding: .5rem 1rem; /* More padding */
    border-radius: 5px;
    border: 2px solid #006494; /* Thicker border */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    background: linear-gradient(to bottom, #0088cc, #0073aa);
    min-width: 250px; /* Wider button */
    margin: 1.5rem auto; /* More spacing */
    display: block;
    font-weight: bold;
    transition: all 0.2s ease;
    width: 100%;
}

/* Focus state (Amazon orange) - More prominent */
.ez-selector-button:focus,
.ez-selector-button:hover {
    background: #FF9900;
    color: #111;
    border-color: #e6a33e;
    background: linear-gradient(to bottom, #ffb733, #FF9900);
    transform: scale(1.02); /* Slight grow effect */
    box-shadow: 0 0 15px rgba(255, 153, 0, 0.7); /* Glow effect */
}

/* Active state (darker orange) */
.ez-selector-button:active {
    background: linear-gradient(to bottom, #e6a33e, #e69500);
    transform: scale(0.98);
}

/* Selected state (blue) - More contrast */
.ez-selector-button.selected {
    background: linear-gradient(to bottom, #0088cc, #0073aa);
    color: #fff;
    border: 2px solid #fff;
    box-shadow: 0 0 15px rgba(0, 136, 204, 0.7);
}

/* Redirect section - Enhanced visibility */
.ez-selector-redirect {
    margin-top: 1rem;
    padding: .75rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #dee2e6;
    font-size: 1.2rem;
}

.ez-selector-progress {
    height: 15px; /* Thicker progress bar */
    background: #e9ecef;
    border-radius: 8px;
    margin: 1.5rem 0;
    overflow: hidden;
    border: 1px solid #ced4da;
}

.ez-selector-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(to right, #28a745, #5cb85c);
    transition: width 1s linear;
}

#ez-selector-cancel {
    color: #dc3545;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 0.5rem .5rem;
    display: inline-block;
}

#ez-selector-cancel:hover {
    text-decoration: underline;
    background-color: rgba(220, 53, 69, 0.1);
    border-radius: 4px;
}

/* Labels - Larger and bolder */
label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .ez-selector-container {
        padding: .5rem;
    }
    .ez-selector-content {
        padding: .75rem;
    }
    select, .ez-selector-button {
        font-size: 1.1rem;
        padding: 0.4rem;
    }
}

/* Focus outline for all focusable elements */
:focus {
    outline: 3px solid #FF9900;
    outline-offset: 2px;
}

/* Enhanced Dropdown Focus Styles for TV Visibility */
select {
    font-size: 1.2rem;
    padding: .5rem;
    margin: 1rem 0;
    width: 100%;
    border: 2px solid #ccc;
    border-radius: 5px;
    background-color: #f8f9fa;
}

/* Dropdown option focus/highlight state - VERY VISIBLE */
select option:checked,
select option:focus {
    background: #e67e22 !important; /* Dark orange */
    color: white !important;
    font-weight: bold;
    text-shadow: 0 1px 1px rgba(0,0,0,0.3);
}

/* Dropdown option hover state */
select option:hover {
    background: #FF9900 !important;
    color: #111 !important;
}

/* For Firefox */
select:focus option:checked {
    background: #e67e22 !important;
    color: white !important;
}

/* For Webkit browsers */
select option:checked:focus {
    background: #e67e22 !important;
    color: white !important;
    box-shadow: 0 0 10px rgba(230, 126, 34, 0.8);
}

/* Make the dropdown itself more visible when focused */
select:focus {
    border-color: #FF9900;
    box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.5);
    outline: none;
}