/* Streamers Modal CSS */

/* Modal Base Styling */
#streamerVotingModal .modal-dialog {
    max-width: 500px;
}

#streamerVotingModal .modal-content {
    min-height: 85vh;
    border: none;
    border-radius: 0;
}

#streamerVotingModal .modal-body {
    overflow-y: auto;
    padding-bottom: 30px;
    scroll-behavior: smooth;
    max-height: 70vh;
    -webkit-overflow-scrolling: touch;
}

/* Platform Availability Message */
.platform-availability-message {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 12px;
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
    text-align: center;
}

/* Shimmer Animation */
@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Streamer Search Styling */
.streamer-search-container {
    margin-bottom: 1rem;
}

.streamer-search-container .input-group-text {
    background-color: #212529;
    border-color: #6c757d;
}

.streamer-search-container .form-control {
    background-color: #212529;
    border-color: #6c757d;
    color: white;
}

.streamer-search-container .form-control:focus {
    background-color: #212529;
    border-color: #3b82f6;
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.search-results-info {
    color: #adb5bd;
    font-size: 0.875rem;
}

.no-results-message {
    text-align: center;
    color: #6c757d;
    padding: 2rem 1rem;
}

.no-results-message i {
    font-size: 2rem;
    opacity: 0.5;
    margin-bottom: 0.5rem;
}

/* Streamers List */
.streamers-container {
    margin-bottom: 1rem;
}

.streamers-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 5px;
    position: relative;
}

/* Individual Streamer Option */
.vote-option {
    background-color: #2d3748;
    border-radius: 12px;
    padding: 12px 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border: 1px solid #4a5568;
    position: relative;
    margin-bottom: 8px;
    cursor: pointer;
    height: 50px;
    display: flex;
    align-items: center;
}

.vote-option:last-child {
    margin-bottom: 15px;
}

.vote-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.25);
    border-color: #3b82f6;
    background-color: #374151;
}

.vote-option-header {
    margin-bottom: 8px;
}

.vote-option-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0;
}

.vote-count-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-right: 12px;
}

.vote-option-title-wrapper {
    flex: 1;
    text-align: left;
    margin-bottom: 0;
}

.vote-option-title {
    font-size: 1.1rem;
    margin: 0;
    color: white;
    font-weight: 600;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.8)) drop-shadow(0 0 15px rgba(59, 130, 246, 0.5));
}

/* Clip count display */
.clip-count-display {
    color: #38bdf8;
    font-size: 1rem;
    font-weight: 600;
    background-color: #000000;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(56, 189, 248, 0.5);
}

/* Email Request Section */
.email-request-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    text-align: center;
}

.email-request-content {
    position: relative;
}

.email-instruction-text {
    color: #e9ecef;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.email-address {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.email-address:hover {
    color: #60a5fa;
    text-decoration: underline;
}

.email-request-content i {
    color: #3b82f6;
    margin-left: 0.5rem;
    font-size: 1.2rem;
    vertical-align: middle;
}

#email-footer {
    padding: 1rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
}

#email-footer .email-instruction-text {
    color: #e9ecef;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

#email-footer .email-address {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

#email-footer .email-address:hover {
    color: #60a5fa;
    text-decoration: underline;
}

#email-footer i {
    color: #3b82f6;
    margin-left: 0.5rem;
    font-size: 1rem;
    vertical-align: middle;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    #streamerVotingModal .modal-dialog {
        margin: 0;
        max-width: 100%;
        width: 100%;
        height: 100vh;
    }
    
    #streamerVotingModal .modal-content {
        height: 100vh;
        border-radius: 0;
    }
    
    #streamerVotingModal .modal-body {
        padding: 1rem;
        max-height: none;
        overflow-y: auto;
    }
    
    .vote-option {
        padding: 12px;
    }
    
    .vote-option-title {
        font-size: 1rem;
    }
    
    .email-request-section {
        padding: 1rem;
        margin-top: 1.5rem;
    }
    
    .email-instruction-text {
        font-size: 0.9rem;
    }
    
    .email-address {
        font-size: 1rem;
    }
}
