/**
 * Estilos para el plugin Syxnek Sugerencias Discord - Modo Dark
 */

.syxnek-sugerencias-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 20px;
}

.syxnek-sugerencias-login-required {
    text-align: center;
    padding: 40px 20px;
    background: #1e1e1e;
    border-radius: 8px;
    border: 1px solid #333;
    color: #ffffff;
}

.syxnek-sugerencias-login-required p {
    color: #ffffff;
    margin-bottom: 20px;
}

.syxnek-discord-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    background: #5865F2;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 20px;
    line-height: 1.5;
}

.syxnek-discord-login-btn svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.syxnek-discord-login-btn br {
    display: none;
}

/* Hovers eliminados según solicitud del usuario */

.syxnek-sugerencias-form-wrapper {
    background: linear-gradient(135deg, #1e1e1e 0%, #252525 100%);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border: 1px solid #333;
}

.syxnek-sugerencias-user-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.syxnek-sugerencias-user-info-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.syxnek-user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    border: 2px solid #5865F2;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(129, 129, 129, 0.3);
}

.syxnek-sugerencias-user-info p {
    margin: 0;
    font-size: 15px;
    color: #ffffff;
    font-weight: 500;
}

.syxnek-sugerencias-user-info strong {
    color: #5865F2;
    font-weight: 600;
}

.syxnek-discord-logout-btn {
    padding: 8px 16px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

/* Hovers eliminados según solicitud del usuario */

.syxnek-sugerencias-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Ocultar elementos vacíos que crean espacio invisible */
.syxnek-sugerencias-form br,
.syxnek-sugerencias-form p:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    line-height: 0 !important;
}

.syxnek-sugerencias-form input[type="hidden"] + br {
    display: none !important;
}

.syxnek-sugerencias-form option br {
    display: none !important;
}

.syxnek-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.syxnek-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .syxnek-form-row {
        grid-template-columns: 1fr;
    }
}

.syxnek-form-group label {
    font-weight: 500;
    color: #ffffff;
    font-size: 14px;
}

.syxnek-form-group label .required {
    color: #ff6b6b;
}

.syxnek-form-control {
    padding: 14px 16px;
    background: #252525;
    border: 2px solid #3a3a3a;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    box-sizing: border-box;
}

.syxnek-form-control::placeholder {
    color: #888;
    opacity: 0.7;
}

.syxnek-form-control:focus {
    outline: none;
}

.syxnek-form-control:hover:not(:focus) {
    border-color: #4a4a4a;
    background: #272727;
}

.syxnek-form-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #999;
    font-style: italic;
    line-height: 1.4;
}

.syxnek-form-control option {
    background: #2a2a2a;
    color: #ffffff;
}

.syxnek-form-control textarea {
    resize: vertical;
    min-height: 120px;
}

.syxnek-submit-btn {
    padding: 14px 32px;
    background: var(--syxnek-color-button, #5865F2);
    color: var(--syxnek-color-button-text, #ffffff);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    align-self: flex-start;
    position: relative;
}

.syxnek-submit-btn:disabled {
    background: #555;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
    box-shadow: none;
}

.syxnek-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    font-size: 14px;
    color: #ffffff;
}

.syxnek-message.syxnek-message-success {
    background: #1e4620;
    color: #4ade80;
    border: 1px solid #22c55e;
}

.syxnek-message.syxnek-message-error {
    background: #4a1e1e;
    color: #f87171;
    border: 1px solid #ef4444;
}

.syxnek-alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    color: #ffffff;
}

.syxnek-alert-warning {
    background: #3d2e1e;
    color: #fbbf24;
    border: 1px solid #f59e0b;
}

/* Page Header - Común para sugerencias y perfil */
.syxnek-page-header {
    background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
    border-radius: 16px;
    padding: 20px 30px;
    margin-bottom: 30px;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.syxnek-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #5865F2, #9b59b6, #5865F2);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
    border-radius: 16px 16px 0 0;
}

.syxnek-page-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.syxnek-page-title i {
    color: #ffffff;
    font-size: 22px;
}

.syxnek-page-logout-btn {
    padding: 10px 20px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* Hovers eliminados según solicitud del usuario */

.syxnek-page-logout-btn i {
    font-size: 14px;
}

/* Perfil del Jugador */
.syxnek-perfil-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.syxnek-perfil-loading {
    text-align: center;
    padding: 60px 20px;
    color: #ffffff;
}

.syxnek-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #333;
    border-top-color: #5865F2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.syxnek-perfil-content {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Perfil User Card - Separado del header */
.syxnek-perfil-user-card {
    background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid #333;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 25px;
    position: relative;
    overflow: hidden;
}

.syxnek-perfil-user-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #5865F2, #9b59b6, #5865F2);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.syxnek-perfil-avatar {
    width: 120px;
    height: 120px;
    border-radius: 12px !important;
    border: 3px solid #5865F2;
    box-shadow: 0 4px 16px rgba(129, 129, 129, 0.4);
    animation: pulse 2s ease-in-out infinite;
    object-fit: cover;
}

.syxnek-perfil-display-name {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 4px 0;
}

.syxnek-perfil-username-small {
    font-size: 13px;
    color: #999;
    margin: 0 0 8px 0;
}

.syxnek-cid-copyable {
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    transition: all 0.2s;
}

/* Hovers eliminados según solicitud del usuario */

.syxnek-cid-code {
    font-size: 16px;
    color: #ffffff;
    font-weight: 600;
    flex: 1;
    word-break: break-all;
}

.syxnek-cid-copy-btn {
    padding: 6px 12px;
    background: #5865F2;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

/* Hovers eliminados según solicitud del usuario */

.syxnek-cid-copy-btn.copied {
    background: #22c55e;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(129, 129, 129, 0.4); }
    50% { box-shadow: 0 4px 24px rgba(129, 129, 129, 0.6); }
}

.syxnek-perfil-info {
    flex: 1;
}

.syxnek-perfil-username {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.syxnek-perfil-id {
    font-size: 14px;
    color: #999;
    margin: 0;
    font-family: 'Courier New', monospace;
}

.syxnek-perfil-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.syxnek-stat-card {
    background: #252525;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.syxnek-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(129, 129, 129, 0.1), transparent);
    transition: left 0.5s;
}

/* Hovers eliminados según solicitud del usuario */

.syxnek-stat-icon {
    font-size: 32px;
    display: block;
}

.syxnek-stat-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 600;
}

.syxnek-stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #5865F2;
    margin: 0;
    line-height: 1;
}

.syxnek-perfil-section {
    background: #252525;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    animation: fadeInUp 0.5s ease-out;
}

.syxnek-perfil-section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.syxnek-perfil-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.syxnek-cartas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
}

.syxnek-carta-item {
    background: #1e1e1e;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.syxnek-carta-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(129, 129, 129, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

/* Hovers eliminados según solicitud del usuario */

.syxnek-carta-number {
    font-size: 36px;
    font-weight: 700;
    color: #5865F2;
    margin: 0;
    line-height: 1;
}

.syxnek-carta-label {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
    text-transform: uppercase;
}

.syxnek-roles-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.syxnek-role-badge {
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(129, 129, 129, 0.3);
    animation: fadeIn 0.5s ease-out;
    animation-fill-mode: both;
}

.syxnek-role-badge:nth-child(1) { animation-delay: 0.1s; }
.syxnek-role-badge:nth-child(2) { animation-delay: 0.2s; }
.syxnek-role-badge:nth-child(3) { animation-delay: 0.3s; }
.syxnek-role-badge:nth-child(4) { animation-delay: 0.4s; }
.syxnek-role-badge:nth-child(5) { animation-delay: 0.5s; }

.syxnek-perfil-login-required {
    text-align: center;
    padding: 60px 20px;
    background: #1e1e1e;
    border-radius: 16px;
    border: 1px solid #333;
    color: #ffffff;
}

.syxnek-perfil-login-required p {
    color: #ffffff;
    margin-bottom: 30px;
    font-size: 18px;
}

/* Tabs del perfil */
.syxnek-perfil-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #333;
    padding-bottom: 0;
}

.syxnek-tab-btn {
    padding: 14px 24px;
    background: transparent;
    color: #999;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: -2px;
    position: relative;
}

/* Hovers eliminados según solicitud del usuario */

.syxnek-tab-btn.active {
    color: #5865F2;
    border-bottom-color: #5865F2;
    background: rgba(129, 129, 129, 0.1);
}

.syxnek-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.syxnek-tab-content.active {
    display: block;
}

.syxnek-tokens-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.syxnek-info-card {
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s;
}

/* Hovers eliminados según solicitud del usuario */

.syxnek-info-label {
    font-size: 13px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    font-weight: 600;
}

.syxnek-info-value {
    font-size: 32px;
    font-weight: 700;
    color: #5865F2;
    line-height: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .syxnek-sugerencias-container {
        padding: 15px;
    }
    
    .syxnek-sugerencias-form-wrapper {
        padding: 20px;
    }
    
    .syxnek-sugerencias-user-info {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .syxnek-page-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 15px;
    }
    
    .syxnek-page-title {
        font-size: 20px;
        width: 100%;
    }
    
    .syxnek-page-logout-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .syxnek-perfil-user-card {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
    
    .syxnek-perfil-avatar {
        width: 80px;
        height: 80px;
    }
    
    .syxnek-perfil-username {
        font-size: 24px;
    }
    
    .syxnek-perfil-stats {
        grid-template-columns: 1fr;
    }
    
    .syxnek-cartas-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}

/* Modal elegante y simple */
.syxnek-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.syxnek-modal-overlay[style*="display: flex"] {
    display: flex !important;
}

.syxnek-modal-content {
    background: #1a1a1a;
    border-radius: 12px;
    border: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    max-width: 400px;
    width: 90%;
    animation: slideUp 0.2s ease;
    overflow: hidden;
}

.syxnek-modal-header {
    padding: 24px 24px 20px;
    text-align: center;
    border-bottom: 1px solid #2a2a2a;
}

.syxnek-modal-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #666;
    background: transparent;
    border: none;
}

.syxnek-modal-icon-success {
    color: rgba(34, 197, 94, 0.8);
}

.syxnek-modal-icon-warning {
    color: rgba(245, 158, 11, 0.8);
}

.syxnek-modal-icon-danger {
    color: rgba(220, 53, 69, 0.8);
}

.syxnek-modal-icon-info {
    color: rgba(129, 129, 129, 0.8);
}

.syxnek-modal-header h2 {
    margin: 0;
    color: #e0e0e0;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.syxnek-modal-body {
    padding: 20px 24px;
    color: #b0b0b0;
    text-align: center;
    font-size: 13px;
    line-height: 1.6;
}

.syxnek-modal-codigo {
    font-size: 12px;
    margin-bottom: 12px;
    color: #888;
}

.syxnek-modal-codigo strong {
    color: #d0d0d0;
    font-size: 14px;
    font-weight: 500;
    display: block;
    margin-top: 4px;
    letter-spacing: 1px;
}

.syxnek-modal-enlaces {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #2a2a2a;
    text-align: left;
}

.syxnek-modal-enlaces strong {
    display: block;
    margin-bottom: 8px;
    color: #999;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.syxnek-modal-enlaces ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.syxnek-modal-enlaces li {
    margin-bottom: 6px;
}

.syxnek-modal-enlaces a {
    color: #999;
    text-decoration: none;
    word-break: break-all;
    font-size: 12px;
}

.syxnek-modal-footer {
    padding: 16px 24px 20px;
    text-align: center;
    border-top: 1px solid #2a2a2a;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.syxnek-modal-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.syxnek-modal-btn-close {
    background: #2a2a2a;
    color: #ffffff;
    border: 1px solid #333;
}

.syxnek-modal-btn-cancel {
    background: #2a2a2a;
    color: #ffffff;
    border: 1px solid #333;
}

.syxnek-modal-btn-confirm {
    background: #2a2a2a;
    color: rgba(220, 53, 69, 0.8);
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Select2 Dark Theme */
.select2-container--default .select2-selection--single {
    background-color: #252525 !important;
    border: 2px solid #3a3a3a !important;
    border-radius: 8px !important;
    height: auto !important;
    padding: 14px 16px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #ffffff !important;
    line-height: 1.5 !important;
    padding: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    right: 10px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #ffffff transparent transparent transparent !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #ffffff transparent !important;
}

.select2-dropdown {
    background-color: #1e1e1e !important;
    border: 2px solid #3a3a3a !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

.select2-search--dropdown .select2-search__field {
    background-color: #252525 !important;
    border: 2px solid #3a3a3a !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    padding: 8px 12px !important;
    margin: 8px !important;
}

.select2-search--dropdown .select2-search__field:focus {
    outline: none !important;
    border-color: #3a3a3a !important;
}

.select2-results__option {
    background-color: transparent !important;
    color: #ffffff !important;
    padding: 10px 16px !important;
}

.select2-results__option--highlighted {
    background-color: #2a2a2a !important;
    color: #ffffff !important;
}

.select2-results__option[aria-selected=true] {
    background-color: #333 !important;
    color: #ffffff !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #2a2a2a !important;
    color: #ffffff !important;
}

/* Autocomplete Dropdown (similar al web panel) */
.syxnek-autocomplete-dropdown {
    position: relative;
    width: 100%;
}

.syxnek-autocomplete-dropdown__input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.syxnek-autocomplete-dropdown__input {
    width: 100%;
    padding: 14px 40px 14px 16px;
    background: #252525;
    border: 2px solid #3a3a3a;
    border-radius: 8px;
    color: #ffffff;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
    outline: none;
}

.syxnek-autocomplete-dropdown__input::placeholder {
    color: #999;
}

/* Ocultar placeholder cuando hay una selección */
.syxnek-autocomplete-dropdown__input-wrapper:has(.syxnek-dropdown-display) .syxnek-autocomplete-dropdown__input {
    color: transparent;
}

.syxnek-autocomplete-dropdown__input-wrapper:has(.syxnek-dropdown-display) .syxnek-autocomplete-dropdown__input::placeholder {
    opacity: 0;
}

.syxnek-autocomplete-dropdown__toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, color 0.2s ease;
    z-index: 1;
}

.syxnek-autocomplete-dropdown--open .syxnek-autocomplete-dropdown__toggle {
    transform: translateY(-50%) rotate(180deg);
    color: #ffffff;
}

.syxnek-autocomplete-dropdown__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #1e1e1e;
    border: 2px solid #3a3a3a;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    max-height: 300px;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.syxnek-autocomplete-dropdown__search {
    padding: 12px;
    border-bottom: 1px solid #2a2a2a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.syxnek-autocomplete-dropdown__search i {
    color: #999;
    font-size: 14px;
}

.syxnek-autocomplete-dropdown__search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    padding: 0;
}

.syxnek-autocomplete-dropdown__search-input::placeholder {
    color: #666;
}

.syxnek-autocomplete-dropdown__list {
    overflow-y: auto;
    max-height: 250px;
    padding: 4px 0;
}

.syxnek-autocomplete-dropdown__option {
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #e0e0e0;
    font-size: 14px;
    transition: background 0.2s ease;
}

.syxnek-autocomplete-dropdown__option:hover {
    background: #2a2a2a;
}

.syxnek-autocomplete-dropdown__option--selected {
    background: #333;
    color: #ffffff;
}

.syxnek-autocomplete-dropdown__option-content {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 8px;
}

.syxnek-autocomplete-dropdown__option-content .syxnek-custom-emoji {
    flex-shrink: 0;
}

.syxnek-dropdown-display {
    font-size: 15px;
}

.syxnek-dropdown-display .syxnek-custom-emoji {
    width: 18px;
    height: 18px;
}

.syxnek-autocomplete-dropdown__empty {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* ===== ESTILOS PARA BOTONES DE TICKETS ===== */

.syxnek-ticket-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 20px;
    background: linear-gradient(135deg, #1e1e1e 0%, #252525 100%);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 200px;
    box-sizing: border-box;
}

.syxnek-ticket-login-text {
    margin: 0;
    color: #ffffff;
    font-size: 15px;
    text-align: center;
    font-weight: 500;
}

.syxnek-ticket-error {
    margin: 0;
    color: #dc3545;
    font-size: 14px;
    text-align: center;
}

.syxnek-ticket-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    background: #5865F2;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.5;
    text-decoration: none;
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
}

.syxnek-ticket-button:hover:not(:disabled) {
    background: #4752C4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(129, 129, 129, 0.4);
}

.syxnek-ticket-button:active:not(:disabled) {
    transform: translateY(0);
}

.syxnek-ticket-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.syxnek-ticket-button i {
    font-size: 18px;
}

.syxnek-ticket-message {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    width: 100%;
    max-width: 300px;
    text-align: center;
    box-sizing: border-box;
}

.syxnek-ticket-message-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.syxnek-ticket-message-error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

.syxnek-ticket-message a {
    color: inherit;
    text-decoration: underline;
    font-weight: 500;
}

.syxnek-ticket-message a:hover {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .syxnek-ticket-container {
        padding: 15px;
        min-height: 180px;
    }
    
    .syxnek-ticket-button {
        max-width: 100%;
        font-size: 15px;
        padding: 10px 20px;
    }
    
    .syxnek-ticket-message {
        max-width: 100%;
        font-size: 13px;
    }
}

/* ===== ESTILOS MEJORADOS PARA RESULTADOS DE TICKETS (MODO DARK) ===== */

.syxnek-ticket-result-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 40px 20px;
    margin: 40px 0;
}

.syxnek-ticket-result-card {
    background: linear-gradient(135deg, #1a1d2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 48px 40px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.syxnek-ticket-result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
}

.syxnek-ticket-result-card.syxnek-ticket-message-success {
    background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.syxnek-ticket-result-card.syxnek-ticket-message-error {
    background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.syxnek-ticket-result-card.syxnek-ticket-message-warning {
    background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.syxnek-ticket-result-card.syxnek-ticket-login-card {
    background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
    border: 1px solid rgba(129, 129, 129, 0.3);
}

.syxnek-ticket-icon-wrapper {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.syxnek-ticket-icon {
    font-size: 64px;
    color: #5865F2;
    filter: drop-shadow(0 4px 8px rgba(129, 129, 129, 0.3));
}

.syxnek-ticket-icon-discord {
    color: #5865F2;
    filter: drop-shadow(0 4px 12px rgba(129, 129, 129, 0.5));
}

.syxnek-ticket-icon-success {
    color: #22c55e;
    filter: drop-shadow(0 4px 8px rgba(34, 197, 94, 0.3));
}

.syxnek-ticket-icon-error {
    color: #ef4444;
    filter: drop-shadow(0 4px 8px rgba(239, 68, 68, 0.3));
}

.syxnek-ticket-icon-warning {
    color: #f59e0b;
    filter: drop-shadow(0 4px 8px rgba(245, 158, 11, 0.4));
}

.syxnek-ticket-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.syxnek-ticket-description {
    font-size: 16px;
    line-height: 1.6;
    color: #b8c1ec;
    margin: 0 0 32px 0;
}

.syxnek-ticket-details {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.syxnek-ticket-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.syxnek-ticket-detail-item:last-child {
    border-bottom: none;
}

.syxnek-ticket-detail-label {
    font-weight: 600;
    color: #8b9dc3;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.syxnek-ticket-detail-value {
    font-weight: 700;
    color: #ffffff;
    font-size: 16px;
}

.syxnek-ticket-info-text {
    font-size: 15px;
    color: #b8c1ec;
    margin: 0 0 24px 0;
    line-height: 1.6;
}

.syxnek-ticket-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.syxnek-ticket-action-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 14px 28px !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    position: relative !important;
    overflow: hidden !important;
}

.syxnek-ticket-btn-primary {
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%) !important;
    color: white !important;
}

.syxnek-ticket-btn-primary:hover,
.syxnek-ticket-btn-primary:focus,
.syxnek-ticket-btn-primary:active {
    background: linear-gradient(135deg, #4752C4 0%, #3c45a5 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(129, 129, 129, 0.6) !important;
    color: white !important;
    text-decoration: none !important;
}

.syxnek-ticket-btn-primary:active {
    transform: translateY(0px) !important;
    box-shadow: 0 2px 8px rgba(129, 129, 129, 0.4) !important;
}

.syxnek-ticket-btn-secondary {
    background: linear-gradient(135deg, #4a5568 0%, #374151 100%) !important;
    color: white !important;
}

.syxnek-ticket-btn-secondary:hover,
.syxnek-ticket-btn-secondary:focus,
.syxnek-ticket-btn-secondary:active {
    background: linear-gradient(135deg, #374151 0%, #2d3748 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(74, 85, 104, 0.5) !important;
    color: white !important;
    text-decoration: none !important;
}

.syxnek-ticket-btn-secondary:active {
    transform: translateY(0px) !important;
    box-shadow: 0 2px 8px rgba(74, 85, 104, 0.3) !important;
}

.syxnek-ticket-btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #1a1a1a !important;
    font-weight: 700 !important;
}

.syxnek-ticket-btn-warning:hover,
.syxnek-ticket-btn-warning:focus,
.syxnek-ticket-btn-warning:active {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6) !important;
    color: #1a1a1a !important;
    text-decoration: none !important;
}

.syxnek-ticket-btn-warning:active {
    transform: translateY(0px) !important;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4) !important;
}

.syxnek-ticket-btn-warning:visited {
    color: #1a1a1a !important;
}

.syxnek-discord-join-btn:hover,
.syxnek-discord-join-btn:focus,
.syxnek-discord-join-btn:active {
    background: linear-gradient(135deg, #4752C4 0%, #3c45a5 100%) !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 8px 24px rgba(129, 129, 129, 0.7) !important;
    color: white !important;
}

.syxnek-discord-join-btn:active {
    transform: translateY(0px) scale(1) !important;
    box-shadow: 0 4px 12px rgba(129, 129, 129, 0.5) !important;
}

.syxnek-ticket-action-btn i {
    font-size: 18px !important;
    transition: transform 0.2s ease !important;
}

.syxnek-ticket-action-btn:hover i {
    transform: scale(1.1) !important;
}

/* Prevenir estilos de otros plugins */
.syxnek-ticket-action-btn:visited {
    color: white !important;
}

.syxnek-ticket-action-btn::before,
.syxnek-ticket-action-btn::after {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .syxnek-ticket-result-card {
        padding: 32px 24px;
        border-radius: 16px;
    }
    
    .syxnek-ticket-title {
        font-size: 24px;
    }
    
    .syxnek-ticket-description {
        font-size: 15px;
    }
    
    .syxnek-ticket-icon {
        font-size: 56px;
    }
    
    .syxnek-ticket-action-btn {
        padding: 12px 24px;
        font-size: 15px;
        width: 100%;
    }
    
    .syxnek-ticket-actions {
        flex-direction: column;
    }
}

/* ===== ESTILOS PARA MENSAJE DE NO ES MIEMBRO (FONDO GRIS) ===== */

.syxnek-not-member-wrapper {
    background: transparent;
    padding: 60px 20px;
}

.syxnek-not-member-wrapper .syxnek-ticket-result-card {
    background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.syxnek-ticket-info-box {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin: 24px 0;
    text-align: left;
}

.syxnek-ticket-info-box-title {
    font-size: 16px;
    font-weight: 600;
    color: #5865F2;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.syxnek-ticket-steps-list {
    margin: 0;
    padding-left: 20px;
    list-style-type: decimal;
}

.syxnek-ticket-steps-list li {
    margin-bottom: 8px;
    color: #b8c1ec;
    line-height: 1.6;
    font-size: 14px;
}

.syxnek-discord-join-btn {
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%) !important;
}

.syxnek-discord-join-btn:hover {
    background: linear-gradient(135deg, #4752C4 0%, #3c45a5 100%) !important;
}

.syxnek-discord-join-btn i {
    font-size: 20px;
}

@media (max-width: 768px) {
    .syxnek-not-member-wrapper {
        padding: 40px 20px;
    }
    
    .syxnek-ticket-info-box {
        padding: 16px;
    }
    
    .syxnek-ticket-steps-list li {
        font-size: 13px;
    }
}
