/* === PROFILE MENU STYLES === */

.profile-menu {
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 20px;
}

.profile-menu-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.profile-menu-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 600;
    flex-shrink: 0;
}

.profile-menu-info {
    flex: 1;
    min-width: 0;
}

.profile-menu-username {
    font-weight: 600;
    font-size: 15px;
    color: #fff;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-menu-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.profile-menu-subtitle-empty {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* Group Info */
.profile-menu-group-info {
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-menu-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.profile-menu-row:last-child {
    margin-bottom: 12px;
}

.profile-menu-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.profile-menu-value {
    font-size: 13px;
    color: #fff;
    font-weight: 500;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-menu-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

/* No Groups State */
.profile-menu-no-groups {
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.profile-menu-empty-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.profile-menu-empty-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.profile-menu-empty-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* No Active Group */
.profile-menu-no-active-group {
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-menu-empty {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    margin-bottom: 4px;
}

/* === GROUP MODAL STYLES === */

.group-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 8px;
    background: rgba(102, 126, 234, 0.05);
    transition: all 0.2s;
}

.group-item.active {
    border-color: rgba(102, 126, 234, 0.5);
    background: rgba(102, 126, 234, 0.1);
}

.group-item:hover:not(.active) {
    border-color: rgba(102, 126, 234, 0.3);
    background: rgba(102, 126, 234, 0.08);
}

.group-item-info {
    flex: 1;
    min-width: 0;
}

.group-item-nickname {
    font-weight: 600;
    font-size: 15px;
    color: #333;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.group-item-server {
    font-size: 13px;
    color: #666;
}

.group-item-badge {
    background: #667eea;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.group-select-btn {
    margin-left: 12px;
}

/* === BUTTON SIZES === */

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

/* === FORM GROUP === */

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.form-group .form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.form-group .form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-text {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #666;
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* === ALERTS === */

.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 14px;
}

.alert-error {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
}

.alert-info {
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    color: #0066cc;
}
