/* Theme Switcher Styles */

/* Settings Button */
.theme-settings-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: var(--spurs-white);
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 999;
}

.theme-settings-btn:hover {
    transform: rotate(45deg) scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* Theme-specific button colors */
.theme-settings-btn.standard {
    border-color: #00B2A9;
    color: #00B2A9;
}

.theme-settings-btn.standard:hover {
    background: #00B2A9;
    color: white;
}

.theme-settings-btn.fiesta {
    border-color: #EF426F;
    color: #EF426F;
}

.theme-settings-btn.fiesta:hover {
    background: #EF426F;
    color: white;
}

/* Theme Modal */
.theme-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.theme-modal-content {
    background: white;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.theme-modal-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.theme-modal-header h2 {
    margin: 0;
    color: #333;
    font-size: 24px;
}

.theme-modal-close {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #999;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.theme-modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.theme-modal-body {
    padding: 30px 20px;
}

.theme-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.theme-option {
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.theme-preview {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.theme-option input[type="radio"]:checked + .theme-preview {
    border-color: #00B2A9;
    background: #f0fffe;
}

.theme-option:hover .theme-preview {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Theme Thumbnails */
.theme-thumbnail {
    width: 150px;
    height: 100px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    background: white;
    flex-shrink: 0;
}

.preview-header {
    height: 25px;
    background: #f8f8f8;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    padding: 0 5px;
    gap: 5px;
}

.preview-logo {
    width: 20px;
    height: 15px;
    background: linear-gradient(45deg, #00B2A9 50%, #FF8200 50%);
    border-radius: 2px;
}

.preview-nav {
    flex: 1;
    height: 10px;
    background: #00B2A9;
    border-radius: 2px;
}

.preview-nav.pink {
    background: #EF426F;
}

.preview-hero {
    padding: 10px;
    text-align: center;
}

.preview-text {
    height: 20px;
    background: #e0e0e0;
    border-radius: 3px;
    margin-bottom: 10px;
}

.preview-text.pink {
    background: linear-gradient(to right, #fdf2f5, #ffe0e8);
}

.preview-buttons {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.preview-btn {
    width: 30px;
    height: 12px;
    border-radius: 3px;
}

.preview-btn.teal {
    background: #00B2A9;
}

.preview-btn.orange {
    background: #FF8200;
}

/* Theme Info */
.theme-info {
    flex: 1;
}

.theme-info h3 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 18px;
}

.theme-info p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* Modal Footer */
.theme-modal-footer {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.modal-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn.apply {
    background: #00B2A9;
    color: white;
}

.modal-btn.apply:hover {
    background: #009b93;
    transform: translateY(-2px);
}

.modal-btn.cancel {
    background: #f0f0f0;
    color: #333;
}

.modal-btn.cancel:hover {
    background: #e0e0e0;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .theme-settings-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
        bottom: 15px;
        right: 15px;
    }
    
    .theme-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .theme-preview {
        flex-direction: column;
        text-align: center;
    }
    
    .theme-thumbnail {
        width: 200px;
        height: 130px;
    }
}