/* Hytalers Discord Widget Styles */

.hyt-discord-widget {
    background: #1e1e24;
    /* Dark background matching Hytale/Gaming vibes */
    border: 1px solid #2f3136;
    border-radius: 12px;
    padding: 20px;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 350px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Online Member Count & Header */
.hyt-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #2f3136;
}

.hyt-title h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
	color: #ff9500;
}

.hyt-online-count {
    color: #43b581;
    /* Discord Online Green */
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hyt-online-dot {
    width: 8px;
    height: 8px;
    background-color: #43b581;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 5px #43b581;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(67, 181, 129, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 4px rgba(67, 181, 129, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(67, 181, 129, 0);
    }
}

/* Voice Channels Section */
.hyt-channels-list {
    margin-bottom: 20px;
}

.hyt-channel {
    margin-bottom: 5px;
}

.hyt-channel-header {
    display: flex;
    align-items: center;
    padding: 6px 8px;
    color: #8e9297;
    font-weight: 600;
    font-size: 14px;
    border-radius: 4px;
}

.hyt-channel-header:hover {
    background-color: #36393f;
    color: #dcddde;
}

.hyt-channel-icon {
    margin-right: 8px;
    font-size: 16px;
}

.hyt-channel-users {
    padding-left: 28px;
    margin-top: 2px;
}

.hyt-channel-user {
    display: flex;
    align-items: center;
    padding: 4px 0;
    color: #dcddde;
}

.hyt-c-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 8px;
    opacity: 0.9;
}

.hyt-c-name {
    font-size: 13px;
    font-weight: 500;
}

/* Divider & Subheader */
.hyt-divider {
    height: 1px;
    background: #2f3136;
    margin: 15px 0 10px;
}

.hyt-subheader {
    font-size: 12px;
    text-transform: uppercase;
    color: #8e9297;
    margin-bottom: 10px;
    font-weight: 700;
}

/* Compact Members List (General Online) */
.hyt-members-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-height: 150px;
    /* Smaller height */
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 5px;
}

.hyt-members-compact .hyt-member {
    padding: 0;
    background: transparent;
    border-radius: 50%;
}

.hyt-members-compact .hyt-member:hover {
    transform: translateY(-2px);
    background: transparent;
}

.hyt-members-compact .hyt-member-avatar {
    width: 32px;
    height: 32px;
    border: 2px solid transparent;
    /* Status color applied by class */
    margin: 0;
    transition: width 0.2s, height 0.2s;
}

.hyt-members-compact .hyt-member-avatar:hover {
    width: 36px;
    height: 36px;
}

/* Standard Status Borders for Compact Mode */
.hyt-member-status-online .hyt-member-avatar {
    border-color: #43b581;
}

.hyt-member-status-idle .hyt-member-avatar {
    border-color: #faa61a;
}

.hyt-member-status-dnd .hyt-member-avatar {
    border-color: #f04747;
}

.hyt-member-status-offline .hyt-member-avatar {
    border-color: #747f8d;
}

.hyt-join-btn {
    display: block;
    width: 100%;
    padding: 12px;
    text-align: center;
    background: #5865f2;
    /* Discord Blurple */
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.hyt-join-btn:hover {
    background: #4752c4;
    color: white;
}
div#gridlove-module-5 {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 112;
}
@media(max-width: 998px){
	div#gridlove-module-5 {
		display: none;
	}
}
.hyt-error {
    color: #f04747;
    font-size: 12px;
    text-align: center;
}