/* integrations-discord — styles page (migration DA, ne pas dupliquer la coque) */

.guild-card {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 1rem;
            transition: all 0.3s ease;
            cursor: pointer;
            width: 200px;
            min-width: 200px;
            max-width: 200px;
            text-align: center;
        }
        .guild-card:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
        }
        .guild-icon {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: linear-gradient(135deg, #5865f2, #7289da);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: white;
            margin: 0 auto 0.5rem auto;
        }
        .guild-name {
            font-weight: 600;
            margin-bottom: 0.25rem;
            text-align: center;
        }
        .guild-permissions {
            font-size: 0.75rem;
            color: #a0a0a0;
            text-align: center;
        }
        .guild-tags-row {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            justify-content: center;
            align-items: center;
            min-height: 28px;
            margin-bottom: 6px;
        }
        .owner-badge, .admin-badge, .mod-badge {
            display: inline-flex;
            align-items: center;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 0.7rem;
            font-weight: 600;
            letter-spacing: 0.02em;
            white-space: nowrap;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
        }
        .owner-badge {
            background: linear-gradient(145deg, #f59e0b 0%, #d97706 100%);
            color: #fff;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        .owner-badge::before {
            content: '\f005';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-size: 0.65rem;
            margin-right: 4px;
        }
        .admin-badge {
            background: linear-gradient(145deg, #ef4444 0%, #dc2626 100%);
            color: #fff;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        .admin-badge::before {
            content: '\f023';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-size: 0.65rem;
            margin-right: 4px;
        }
        .mod-badge {
            background: linear-gradient(145deg, #8b5cf6 0%, #7c3aed 100%);
            color: #fff;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        .mod-badge::before {
            content: '\f0ad';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-size: 0.65rem;
            margin-right: 4px;
        }
        .guild-card.not-enrolled {
            opacity: 0.5;
            background: rgba(255, 255, 255, 0.02);
            border-color: rgba(255, 255, 255, 0.1);
        }
        .guild-card.not-enrolled:hover {
            transform: translateY(-2px);
            border-color: rgba(239, 68, 68, 0.5);
            background: rgba(255, 255, 255, 0.05);
        }
        .guild-card.is-quota-disabled,
        .guild-card.is-quota-disabled:hover {
            opacity: 0.38;
            filter: grayscale(0.35);
            cursor: not-allowed;
            transform: none;
            border-color: rgba(255, 255, 255, 0.1);
            background: rgba(255, 255, 255, 0.02);
            pointer-events: none;
        }
        .quota-disabled-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 4px 10px;
            border-radius: 999px;
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 0.02em;
            white-space: nowrap;
            background: rgba(239, 68, 68, 0.16);
            color: rgba(254, 226, 226, 0.95);
            border: 1px solid rgba(239, 68, 68, 0.35);
        }
        .quota-disabled-badge::before {
            content: '\f05e';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-size: 0.7rem;
        }
        .not-enrolled-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 0.7rem;
            font-weight: 600;
            letter-spacing: 0.02em;
            background: rgba(239, 68, 68, 0.25);
            color: #fca5a5;
            border: 1px solid rgba(239, 68, 68, 0.4);
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
        }
        .not-enrolled-badge::before {
            content: '\f071';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-size: 0.65rem;
            margin-right: 4px;
        }
        .already-managed-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 0.7rem;
            font-weight: 600;
            letter-spacing: 0.02em;
            background: linear-gradient(145deg, rgba(16, 185, 129, 0.35) 0%, rgba(5, 150, 105, 0.35) 100%);
            color: #6ee7b7;
            border: 1px solid rgba(16, 185, 129, 0.5);
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
        }
        .already-managed-badge::before {
            content: '\f00c';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-size: 0.65rem;
            margin-right: 4px;
        }
        .added-by-badge {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            font-size: 0.7rem;
            color: #64748b;
            margin-top: 8px;
            padding-top: 6px;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
        }
        .added-by-badge::before {
            content: '\f007';
            font-family: 'Font Awesome 6 Free';
            font-weight: 400;
            font-size: 0.65rem;
            opacity: 0.8;
            margin-right: 2px;
        }
        @keyframes slideIn {
            from {
                transform: translateX(400px);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }
        @keyframes slideOut {
            from {
                transform: translateX(0);
                opacity: 1;
            }
            to {
                transform: translateX(400px);
                opacity: 0;
            }
        }
