.sejoli-discord-container {
    margin: 20px 0;
    padding: 20px;
    border-radius: 8px;
    background: #f9f9f9;
    border-left: 4px solid #5865f2;
}

.sejoli-discord-connected {
    text-align: center;
    padding: 15px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    color: #155724;
}

.sejoli-discord-not-connected {
    text-align: center;
    padding: 15px;
}

.sejoli-discord-no-access {
    text-align: center;
    padding: 15px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    color: #721c24;
}

.sejoli-discord-connect-btn,
.sejoli-discord-unlink-btn {
    background: #5865f2;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.sejoli-discord-connect-btn:hover {
    background: #4752c4;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(88, 101, 242, 0.3);
}

.sejoli-discord-unlink-btn {
    background: #ed4245;
    margin-top: 10px;
}

.sejoli-discord-unlink-btn:hover {
    background: #c23b3e;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(237, 66, 69, 0.3);
}

.sejoli-discord-notice {
    padding: 15px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    color: #856404;
    text-align: center;
}

/* Admin styles */
.product-role-row {
    margin-bottom: 10px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 4px;
}

.product-role-row select,
.product-role-row input {
    margin-right: 10px;
    min-width: 200px;
}

.remove-row {
    background: #dc3232;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
}

.remove-row:hover {
    background: #a00;
}

/* Loading states */
.sejoli-discord-loading {
    opacity: 0.6;
    pointer-events: none;
}

.sejoli-discord-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #5865f2;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Responsive design */
@media (max-width: 768px) {
    .sejoli-discord-container {
        margin: 10px 0;
        padding: 15px;
    }
    
    .sejoli-discord-connect-btn,
    .sejoli-discord-unlink-btn {
        width: 100%;
        padding: 15px;
    }
    
    .product-role-row select,
    .product-role-row input {
        width: 100%;
        margin-bottom: 5px;
    }
}